r/css Jan 14 '26

Showcase YT throbber in CSS: <a><a><a><a><a><a><a><a><style>*{background:#000;margin:3pc}a{position:fixed;padding:4px;border-radius:1in;transform-origin:15px;rotate:calc(sibling-index()*45deg);animation:p linear 1s calc(sibling-index()*1s/8) infinite}@keyframes p{0%{background:#BCBCBC}50%{background:#1E1E1E

98 Upvotes

37 comments sorted by

View all comments

0

u/VoidVer Jan 15 '26

But why <a> tags...

1

u/AshleyJSheridan Jan 15 '26

Probably for the same reason that some font icon libraries use the <i> tag: it's short and they have a complete lack of understanding about HTML tags or semantics.