Last active
January 10, 2017 22:25
-
-
Save bfgeek/460c21569776f75fb707fa8d20419dbe 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
<style> | |
.painting { | |
background-image: paint(typed, 10px), url(foo2.png); | |
background-image: paint(typed, red), url(foo1.png); | |
} | |
</style> | |
<script> | |
// paint worklet | |
registerPaint('typed', class { | |
static inputArguments = ['<length>']; | |
// etc. | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment