Created
September 13, 2019 20:16
-
-
Save UniBreakfast/27329e847b8d7d02aa1a659c4f21f2eb 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
`.selector { | |
property1: value; | |
property2: value; | |
} | |
#selector { property: value }` | |
.match(/[^{]+{[^}]+\}/g).forEach(rule => d.styleSheets[0].insertRule(rule)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment