CSS: adjusting spacing between letter according to container width?
问题 I have vertically rotated span element with some text in it: span{ -webkit-transform: rotate(-90deg); -o-transform: rotate(-90deg); -moz-transform: rotate(-90deg); filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); height: 100%; } .container{ width: 40px; height: 500px; /* <- this can change */ } How can I make it so the spacing between the letters of the text from the span changes depending on the container's height? Basically I want the text to span over the entire height of