Created
October 28, 2012 17:50
-
-
Save anonymous/3969265 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| /* using standard minimally qualified CSS; i used a few different variations of scoping | |
| more verbose and more difficult to read | |
| more prone to specificity and inheritance bugs | |
| you could add the .view qualifier as well, but then it | |
| becomes even less readable and more difficult to maintain | |
| */ | |
| .widget-a h1 { | |
| font-size: 16px; | |
| } | |
| .widget-a h2 { | |
| font-size: 14px; | |
| } | |
| .widget-a .region1, .widget-a .region2 { | |
| padding: 10px; | |
| } | |
| .widget-a li .region1, .widget-a .region1 li { | |
| color: #333; | |
| } | |
| .widget-a .active { | |
| color: #ff0000; | |
| } | |
| .widget-a .region2 { | |
| padding-top: 0; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment