-
-
Save NataliaAvila/c609ad177bd3035d314c12c3a1ade648 to your computer and use it in GitHub Desktop.
css rotate a pseudo :after or :before content:“”
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#whatever:after { | |
content:"\24B6"; | |
display: inline-block; | |
-webkit-transform: rotate(30deg); | |
-moz-transform: rotate(30deg); | |
-o-transform: rotate(30deg); | |
-ms-transform: rotate(30deg); | |
transform: rotate(30deg); | |
} | |
<div id="whatever">Some text </div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment