Last active
April 14, 2019 06:11
-
-
Save LeaVerou/6409b146d39625a9df702b2959aa7800 to your computer and use it in GitHub Desktop.
SVG cursors experiments
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
/** | |
* SVG cursors experiments | |
*/ | |
html { | |
height: 100vh; | |
cursor: busy; | |
cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" height="100" width="100" viewBox="0 0 100 100">\ | |
<style>@keyframes dance{to { transform: rotate(-10deg);}</style>\ | |
<text y="1em" style="font-size: 90px; animation: dance .5s infinite alternate">🦄</text></svg>'), not-allowed; | |
} |
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
// alert('Hello world!'); |
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
{"view":"split","fontsize":"100","seethrough":"","prefixfree":"","page":"css"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment