CSS

Elements

#id          \
.class        |-> use as you wish
element      /

Combinator

div p   ...   All p inside div
div > p ...   Direct children of div
div + p ...   Element p next to div (p and div have to share the same parent)
div ~ p ...   All p next to div (p and div have to share the same parent)

MyWiki: HTML (last edited 2017-03-04 13:44:24 by risca)