CSS3 Help Sheet
CSS3 Help Sheet
Text Shadow
Box Resize
-webkit-border-radius
-moz-border-radius
border-radius
Webkit
text-shadow
resize
Firefox
Standard
Syntax
both
vertical
horizontal
min-height
min-width
Webkit
filter: dropshadow( )
overflow: auto
-webkit-border-top-left-radius
-webkit-border-top-right-radius
-webkit-border-bottom-left-radius
-webkit-border-bottom-right-radius
Syntax
Firefox
-moz-border-radius-topleft
-moz-border-radius-topright
-moz-border-radius-bottomleft
-moz-border-radius-bottomright
Standard
border-top-left-radius
border-top-right-radius
border-bottom-left-radius
border-bottom-right-radius
RGBA
background-color: rgba(R, G, B, A)
color: rgba(R, G, B, A)
-webkit-box-shadow
-moz-box-shadow
box-shadow
Syntax
Webkit
Firefox
Standard
Multiple Columns
Webkit
-webkit-column-count
-webkit-column-gap
Firefox
-moz-column-count
-moz-column-gap
Standard
column-count
column-gap
Syntax
Gradients
-webkit-gradient
Syntax
Font Face
font-family: ;
src: url( url_of_font_file);
src: local( ),
url( url_of_font.woff) format(woff ),
url(url_of_font.ttf) format(truetype);
More info by Paul Irish: http://bit.ly/cC76RC
outline
Syntax
@font-face
Box Shadow
Outline
Box Sizing
box-sizing: content-box
-moz-box-sizing: content-box
-webkit-box-sizing: content-box
-ms-box-sizing: content-box
-o-box-sizing: content-box;
-icab-box-sizing: content-box;
-khtml-box-sizing: content-box;
Syntax
content-box
acts like a standard box-model element
border-box
padding and border render inside the box
linear
type of gradient
left bottom
right bottom
left top
right top
position of start & end
color-stop(0.5, rgb(R,G,B))
position & color of stops
-moz-linear-gradient
Syntax
left
right
top
bottom
position of start & end
rgb(R, G, B) 50%
position & color of stops
Selectors
Incredibly powerful,
but we couldnt
possibly fit them on
this sheet.
Info at 456 Berea Street:
http://bit.ly/cKO24D
CSS3 is not yet supported in
all browsers. Graceful
degradation in older browsers
such as IE6 (arghh) is highly
recommended.