Skip to content

Commit b81e147

Browse files
author
Adam Marsden
committed
Merge pull request #4 from Nitrino/master
Added several selectors to the list of selectors
2 parents 2e73084 + 944344a commit b81e147

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

readme.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,18 @@ Last Child Selector `p:last-child {}`
5757

5858
:nth-child Selector `p:nth-child() {}`
5959

60+
Selector every element that is the first element of its parent `p:first-of-type {}`
61+
62+
Checked elements selector `input:checked {}`
63+
64+
Disabled elements selector `input:disabled {}`
65+
66+
Enabled elements selector `input:enabled {}`
67+
68+
Selector elements that has no children (including text nodes) `p:empty {}`
69+
70+
Selector all elements that is not a specified element `:not(p) {}`
71+
6072
###Font Styling
6173

6274
Font style `font-style: normal | italic | oblique`
@@ -110,6 +122,9 @@ Background Color `background-color: #2AA9E0`
110122
Background Position `background-position: top | right | bottom | left |
111123
center`
112124

125+
Background Attachment `background-attachment: scroll | fixed | local | initial |
126+
inherit`
127+
113128
###Box properties
114129

115130
Margin `margin-top: 2px` `margin-right: 4px | auto` `margin-bottom: 6px`

0 commit comments

Comments
 (0)