html – change font color across divs and spans – Stack Overflow

This post was originally published on this site

With that said, in general you can specify in .css file color property for span. span{ color: Red } But if you want specific span in a div to have a specific color then –

some text

In .css,.someClass { /* properties for the div */ } .someClass span { color: Blue; /* other font properties */ }

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

Shopping cart