Utilizing basic CSS alone may not achieve this desired outcome. Consider integrating a CSS preprocessor like SASS or LESS. SASS, in particular, offers comprehensive solutions, as seen in the provided link.
$font-stack: Helvetica, sans-serif;
$primary-color: #333;
body {
font: 100% $font-stack;
color: $primary-color;
}
List all desired fonts for the font
or font-family
property and designate them to a variable using $
and :
. This allows for easy referencing of the entire font list by simply utilizing the created variable.