I am really new to this CSS style, I learned you can define style like the following:
.header {
color: black;
font-family: "Calibri, sans-serif";
font-size:18px;
}
.body {
color: black;
font-family: "Calibri, sans-serif";
font-size:12px;
}
.footnote {
color: black;
font-family: "Calibri, sans-serif";
font-size:10px;
}
Then put it in the code:
<p class = "header"> THIS IS HEADER </p>
<p class = "body"> THIS IS BODY </p>
<p class = "footnote"> THIS IS Footnote </p>
My question is, since the header, body, footnote all share same font, the only change I need is change the font-size, is there a way I can do to just call the style one time and change the font size?
Thanks