Last active
September 6, 2022 01:07
-
-
Save jetsloth/2280e65c8d54b5ed94a6e9f6fb99f490 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
/*Add the class pulse to any field you want to pulse*/ | |
.pulse input, | |
.pulse textarea { | |
animation: pulse-animation 3s infinite; | |
} | |
@keyframes pulse-animation { | |
0% { | |
box-shadow: 0 0 0 0px #2d6dec; | |
} | |
100% { | |
box-shadow: 0 0 0 10px rgba(0, 0, 0, 0); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment