Skip to content

Commit 33fe46c

Browse files
committed
Activate rotation animation on mobile after tap
1 parent 36828de commit 33fe46c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

css/raw.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,9 @@ main.-landing {
192192
.logo-collection > .logo:hover {
193193
background-color: white;
194194
}
195-
.logo-collection > .logo:hover svg {
195+
.logo-collection > .logo:hover svg,
196+
.logo-collection > .logo:active svg,
197+
.logo-collection > .logo:focus svg {
196198
animation: spin 3s linear infinite;
197199
}
198200
@keyframes spin {
@@ -201,7 +203,9 @@ main.-landing {
201203
}
202204
}
203205
204-
.author-link:hover > img {
206+
.author-link:hover > img,
207+
.author-link:active > img,
208+
.author-link:focus > img {
205209
animation: spin 3s linear infinite;
206210
}
207211

0 commit comments

Comments
 (0)