To create a CSS bold text effect, you must use the font-weight property. The font-weight property determines the “weight” of a font, or how bold that font appears. You can use keywords or numeric values to instruct CSS on how bold a piece of text should be.
How do you make text thicker in CSS?
“how to make font thicker in css” Code Answer's
- we can set text bold using css property named 'font-weight'
- Syntax:
- selector{
- font-weight: bold;
- }
How do I make the first text bold in CSS?
There is no ::first-word pseudo-element in CSS; you'll have to wrap the first word in an extra element and then select that. I'd go for <span class="firstWord">(The first word)</span>.