[css/en] Added more pseudo-classes and pseudo-elements examples

This commit is contained in:
Kara Kincaid 2015-10-10 08:20:03 -04:00
parent d8a1c0cf6a
commit 622d4485ab

View File

@ -119,6 +119,19 @@ selected:link {}
/* or an input element which is focused */ /* or an input element which is focused */
selected:focus {} selected:focus {}
/* any element that is the first child of its parent */
selector:first-child {}
/* any element that is the last child of its parent */
selector:last-child {}
/* Just like pseudo classes, pseudo elements allow you to style certain parts of a document */
/* matches a virtual first child of the selected element */
selector::before {}
/* matches a virtual last child of the selected element */
selector::after {}
/* #################### /* ####################
## PROPERTIES ## PROPERTIES