Chapter 7 Flashcards
What is border-radius property?
The CSS3 border-radius property creates rounded corners with a style sheet that is rendered by the browser. The border-radius property is currently supported by all of the current major browsers and does not require a vendor specific prefix
What is the syntax of box-shadow?
h-shadow v-shadow blur spread color;
What is the syntax of text-shadow?
h-shadow v-shadow blur color;
What are two types of gradients used the most in css3?
Linear and Radial gradient
What is linear gradient?
A linear gradient will create a smooth transition between two or more colors in a line up, down, left, right, or diagonally
What is radial gradient?
A radial gradient will create a smooth transition between two or more colors in a radius or circle from the center of the element
What is transparency?
Transparency is how invisible or see through the element is and is defined through the opacity property.
Opacity property?
Default value = 0 = elements are completely opaque.
Value should be between 1 and 0.
.5 = 50 % opaque
.25=25% opaque
What is WOFF?
Web Open Font Format.
You can have an ability to use an unlimited number of custom fonts.
It is not a standard yet, it is in the process by W3C.
What is transformations?
Transformations are effects that allow an element to move, resize, rotate, or stretch.
How many transformations are there?
There are two dimensional (2D) transformations that use the x and y-axis, or can be thought of as width and height. Three dimensional (3D) transformations include a third dimension which is labeled as the z-axis.
What is a skew element?
The skew function is used to stretch an element by providing the x-axis angle and y-axis angle in degrees that the element should stretch. The example below will stretch the element by 25 degrees on the x-axis and will stretch by 45 degrees on the y-axis.
Skew Syntax: skew(x-angle, y-angle)
2D-Skew example:
transform: skew(25deg, 45deg);
What is keyframes rule used for?
@keyframes Rule Syntax
@keyframes animationname {keyframes-selector {css-styles;}}
What is animation property syntax?
animation: animationname duration timing-function delay iteration-count direction fill-mode play-state;
How is animation done?
0%= beginning of animations 100%= end of the animation