anyway to make a rotation work on the pseudo
content:"24B6"?
I'm trying to rotate a unicode symbol.
Inline elements can't be transformed, and pseudo elements are inline by default, so you must apply display: block or display: inline-block to transform them:
display: block
display: inline-block
#whatever:after { content: "24B6"; display: inline-block; transform: rotate(30deg); }
<div id="whatever">Some text </div>
2.1m questions
2.1m answers
60 comments
57.0k users