Quote:
You mean, you could not, for example, use Arial at 1em for the body, and Arial @3em for an h1? Not to be pedantic, just clarifying your express intent.
|
Hitch, you cannot "
directly" styling using font-family property. Use CSS inheritance feature

body is ancestor of h1 in your example so you can style it according to my recipe in such way:
Code:
body {font-family: Arial; font-size: 1em}
h1 {font-size: 3em}
But according to my algorithm
you cannot write:
Code:
body {font-family: Arial; font-size: 1em}
h1 {font-family: Arial; font-size: 3em}