What is the preferred way to achieve a multi style text paragraph (without a fixed structure)?
I was thinking about extending the RichTextField
with a
b
and c
classes?
p {
font-size: 20px;
}
.a {
font-size: 200%;
color: red;
font-wight: bold;
}
.b {
font-size: 80%;
color: blue;
}
.c {
font-size: 140%;
color: green
}
<p>
<span class="a">Multi</span>style
<span class="b">Site</span>
<span class="c">claim</span>
are terrible, but necessary.
</p>