Created
January 28, 2020 04:34
-
-
Save easrng/9b7050e83d0491fd2a62523d7d4e62aa to your computer and use it in GitHub Desktop.
Demo for cssmixin.js
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
<!doctype html> | |
<meta name="viewport" content="width=device-width"> | |
<style> | |
[--mixin="round-border"]{ | |
border:1px solid black; | |
} | |
p{ | |
--mixins:round-border; | |
} | |
</style> | |
<p> | |
cool | |
</p> | |
<script src="https://gist.githubusercontent.com/easrng/c7f6d9062215782cef74b12183f6392b/raw/4542ebec0c024337baef5ae6458d05180ba98f00/cssmixin.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment