Reputation: 1099
I declare font family in CSS:
body {
font-family: "Segoe UI", "Verdana";
}
We all know it means that if the browser does not support the first font, it tries the next font.
Now I want if the browser apply first font, it will apply font-size 12px; if the browser apply seccond font, it will apply font-size 10px,... and so on...
I wonder if we can declare like this
body {
font-family: "Segoe UI", "Verdana";
font-size: 12pt, 10pt;
}
Upvotes: 4
Views: 5411