<div class="normal">
<p class="text">Без задання</p>
<p class="text2">1<span>5</span></p>
</div>
<div class="super">
<p class="text">Застосована властивість <code> font-variant-position: super;</code></p>
<p class="text2">1<span>5</span></p>
</div>
body {
font-size: 18px;
display: flex;
}
*{
margin: 0;
padding: 0;
}
div{
text-align: center;
margin-top: 20px;
}
.normal{
margin-right: 30px;
}
.text{
font-size: 18px;
}
.text2{
font-size: 15em;
}
span {
color: orange;
}
.super span{
font-variant-position: super;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.