Created
December 9, 2015 13:50
-
-
Save RajaJaganathan/842f66b57eb2e523006e to your computer and use it in GitHub Desktop.
Most-interesting-HTML-JS-DOM-CSS-hacks
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
src :https://www.quora.com/What-are-the-most-interesting-HTML-JS-DOM-CSS-hacks-that-most-web-developers-dont-know-about | |
*:nth-child(n) { background-color: rgba(255,0,0,.2); } | |
or | |
* { background-color: rgba(255,0,0,.2); } | |
* * { background-color: rgba(0,255,0,.2); } | |
* * * { background-color: rgba(0,0,255,.2); } | |
* * * * { background-color: rgba(255,0,255,.2); } | |
* * * * * { background-color: rgba(0,255,255,.2); } | |
* * * * * * { background-color: rgba(255,255,0,.2); } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment