Update css.md

This commit is contained in:
Rico Sta. Cruz 2019-12-24 22:04:39 +11:00 committed by GitHub
parent 31fa66ce5d
commit 3c5040facb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

4
css.md
View File

@ -28,7 +28,7 @@ keywords:
| Selector | Description | | Selector | Description |
| ----------------- | ------------ | | ----------------- | ------------ |
| `*` | All Elements | | `*` | All elements |
| `div` | Element | | `div` | Element |
| `.class` | Class | | `.class` | Class |
| `#id` | ID | | `#id` | ID |
@ -43,7 +43,7 @@ keywords:
| `.parent > .child` | Direct descendant | | `.parent > .child` | Direct descendant |
| `.child + .sibling` | Adjacent sibling | | `.child + .sibling` | Adjacent sibling |
| `.child ~ .sibling` | Far sibling | | `.child ~ .sibling` | Far sibling |
| `.class.class` | Have both class | | `.class1.class2` | Have both classes |
### Attribute selectors ### Attribute selectors