-
-
Save eshrinivasan/9ad2fefb649f569429d2bc7098f2dafb to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
block vs inline | |
id(one) vs class(many) | |
positioning | |
https://jsfiddle.net/nsshrinivasan/s06vtsvk/1/ | |
https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pseudo class:
:link, :visited, :hover, :active, :focus
100s
pseudo element:
:first-line, :first-letter, :after, :before
10s
Exercise:
ul#nav li.active a
body.ie7 .col_3 h2 > h3
#footer :not(nav) li
< li style="color:red" >
ul > li ul li ol li:first-letter
Ref:https://css-tricks.com/specifics-on-css-specificity/