TAG
CSS
Result
Run
License
<p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p> <p> Lorem Ipsum is simply dummy text of the printing and typesetting industry. </p>
p { --lh: 1lh; position: relative; background-color: #FFFF00; } p::before { content: "1lh"; position: absolute; left: 0; top: -15px; right: 0; text-align: center; color: #ff0000; font-size: 13px; border-bottom: 1px dashed #FF0000; } p:first-of-type { font-size: 15px; width: var(--lh); } p:last-of-type { font-size: 30px; width: var(--lh); }
Console
expand_less
License
License
by DevDic
Close