Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
https://jsfiddle.net/vkorotenko/zapn0duc/
Something like this
You can do something like this, play only with top and margin, well, set the sizes for the fonts accordingly
<div class="price">
<sup>$</sup> 00 <sub>per month</sub>
</div>
.price {
display: flex; align-items: baseline; justify-content: center;
}
.price sup {
position: relative; top: -10px; margin-right: 2px;
}
.price sub {
position: relative; top: -2px; margin-left: 5px;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question