Created
February 14, 2013 18:28
-
-
Save joannou/4955017 to your computer and use it in GitHub Desktop.
How I create 'moats' to defend my CSS.
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
| Before you do the following, use the most specific selector you can. | |
| 1. Isolate your HTML and CSS into a blank HTML document | |
| 2. For each ruleset: | |
| 1. Copy computed style (including inherited) | |
| 2. Remove -webkit properties | |
| 3. Remove your properties | |
| 4. Mix the result into your ruleset | |
| When you update any of your properties, you should do the above again for the updated rulesets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't know what this means.