How To Style Text Elements with Font, Size, and Color in CSS

This post was originally published on this site

To begin using color, return to your styles.css file in your text editor. As you did with the font-size section, find the body selector and add a color property. The default color for text in most browsers is black. For accessible color contrast, it is important to keep the base color dark when on a light background.

Stay up to date
Register now to get updates on promotions and coupons.

Shopping cart

×