CSS CHEATSHEET

Selectors

*
E
E F
E > F
E:first-child
E:last-child
E:nth-child(n)
E:link, E:visited
E:active
E:hover
E:focus
E + F
E[foo]
E[foo="warning"]
E[foo~="warning"]
.myClass
#myId
E::before
E::after
E::first-line
E::first-letter

Properties

width
height
min-width
max-width
max-height
min-height
float
display
border-radius
position
border
margin
padding
background
top
left
box-shadow
transform
transition
 

Typography

@font-face
display
position
font-size
font-family
font-weight
font-style
color
text-shadow
line-height
letter-spacing
word-spacing
font-stretch
text-transform
text-shadow
 

Colours & Fills

#ffffff
rgba(255,255,255)
rgba(255,255,255,0.5)
linear-gradient()
-webkit-gradient( radial, [..] )
-moz-radial-gradient()

Transformations

transform-origin
rotate
scale
skew
@-webkit-keyframes
skew