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>
1.4m articles
1.4m replys
5 comments
57.0k users