Created
January 5, 2022 11:05
-
-
Save elfacht/7b6577c52208d9ab76a5b4bdd2a8aed9 to your computer and use it in GitHub Desktop.
Cut out text with CSS
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
.text-dark { | |
background-color: black; | |
color: white; | |
mix-blend-mode: multiply; | |
} | |
.text-light { | |
background-color: white; | |
color: black; | |
mix-blend-mode: screen; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment