How can you use the css / stylus to raise or lower the first letter in the block?
label { display: block; } label::first-letter { position: relative; top: -10px; margin-top: -10px; padding-top: -10px; } So nothing works.
How can you use the css / stylus to raise or lower the first letter in the block?
label { display: block; } label::first-letter { position: relative; top: -10px; margin-top: -10px; padding-top: -10px; } So nothing works.
As an option
label { display: block; font-size: 20px; } label::first-letter { color: tomato; } .bottom::first-letter{ vertical-align: sub; } .top::first-letter{ vertical-align: super; } <label class="bottom">Text label</label> <label class="top">Text label</label> super ... - CodeGustspan ... but this is also the complexity of the question, which would apply positioning to the first letter of the sentence without any specials. Additions - CodeGustSource: https://ru.stackoverflow.com/questions/630860/
All Articles