Reputation: 91
When I want to have some spare fonts, I use font property, it's a classic case.
font: 30px Regular, "Segoe UI";
But it's necessary to change font size too. Code below doesn't work:
font: 30px Regular, 40px "Segoe UI";
I use SCSS in my project, could i do this with help of it?
Upvotes: 0
Views: 304
Reputation: 91
the only correct way is to use CSS inheritance system for this.
thanks for asnwers.
Upvotes: 0
Reputation: 3031
its not possible to set font size for two time in a single shorthand property.
Upvotes: 1
Reputation: 1380
"Font" property used as shorthand for other properties which customize font settings , and not for multiple fonts set
Upvotes: 1