Last active
October 5, 2016 17:25
-
-
Save ElmiraMukhamedjanova/0c987280da3af1bf7d31acc413790906 to your computer and use it in GitHub Desktop.
vertical_text
This file contains hidden or 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
| <div class="vertical-text">Вертикальный текст →</div> |
This file contains hidden or 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
| .vertical-text { | |
| /* Трансформируем текст */ | |
| transform: rotate(90deg); | |
| -ms-transform: rotate(90deg); | |
| -moz-transform: rotate(90deg); | |
| -webkit-transform: rotate(90deg); | |
| /* Координаты точки трансформации */ | |
| transform-origin: left top 0; | |
| -ms-transform-origin: left top 0; | |
| -moz-transform-origin: left top 0; | |
| -webkit-transform-origin: left top 0; | |
| margin-left: 20px; | |
| font-size: 20px; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment