Import of glitchdotcom/glitch-hello-website

This commit is contained in:
Glitch (glitch-hello-website)
2021-06-28 13:43:15 +00:00
parent ae651900b2
commit 6d8273792c
4 changed files with 30 additions and 21 deletions

View File

@ -175,10 +175,10 @@ h2 {
transform: translateY(5px);
}
/* Button rotate
- Toggling this class on and off will rotate it forward and back
- The button transition property above determines the speed of rotation (500ms)
/* Button dip
- Toggling this class on and off will move it down and up again
- The button transition property above determines the speed of the translate (500ms)
*/
.rotated {
transform: rotate(360deg);
.dipped {
transform: translateY(5px);
}