Created
July 12, 2020 15:59
-
-
Save tail-call/d605e30e9765278d3f61c84f2f7e7926 to your computer and use it in GitHub Desktop.
CSS variables theming demo that fits in a tweet
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
<style>body{--b:#0cf;--f:#fff}.d{--b:#009;--f:#ddd;background: gray}x{display:flex;justify-content:center;background:var(--b)}z{color:var(--f)}</style><x><z>wow demo<button onclick="(o=document.body).className=o.className?'':'d'">+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment