I can see the very useful fs-*
classes here :
The problem I have is these only apply to h1 down to h6, but no smaller.
Eg I can't change the size (smaller) of regular text inside <p>
tags or in on a bootstrap link eg <p class="link-secondary">Very Small Link</p>
.
Is there a way to change the font size of regular text (not headers) using bootstrap?
I found a way: use bootstrap's typography inline elements . Example
<p>Regular text</p>
<p class="small">Smaller text</p>
From the bootstrap docs:
(The 'small' class) is meant to be treated as fine print.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.