Last active
October 14, 2018 13:36
-
-
Save lonekorean/0d437b9d9e1927e86454cb81b91cd720 to your computer and use it in GitHub Desktop.
Custom properties for polka dots
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
CSS.registerProperty({ | |
name: '--dot-spacing', | |
syntax: '<length>', | |
initialValue: '20px', | |
inherits: false | |
}); | |
CSS.registerProperty({ | |
name: '--dot-fade-offset', | |
syntax: '<percentage>', | |
initialValue: '0%', | |
inherits: false | |
}); | |
CSS.registerProperty({ | |
name: '--dot-color', | |
syntax: '<color>', | |
initialValue: '#fff', | |
inherits: false | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment