<style> | |
div { | |
display: inline-block; | |
border: 1px solid black; | |
} | |
span { | |
font-size: 100px; | |
background: silver url(resources/diamond.png); | |
line-height: 1.5em; | |
border: 2px solid black; | |
border-radius: 50%; | |
} | |
.vertical { | |
-webkit-writing-mode: vertical-rl; | |
} | |
</style> | |
<body> | |
<div class="horizontal"> | |
<span> <br> <br> </span> | |
</div> | |
<div class="vertical"> | |
<span> <br> <br> </span> | |
</div> | |
</div> |