Can all h3
elements be styled with the class responsive-heading
using only CSS? Take a look at the CSS snippet provided for more clarity:
h3 { .responsive-heading }
/* The responsive-heading class is defined in another CSS file and includes:
.responsive-heading { font-size: 30px; .... etc. }
*/
Although I am considering Javascript or JQuery to add the .responsive-heading
class to each h3
, I want to explore if there is a pure css solution first.
In essence, I aim to apply the style of .responsive-heading
to all h3
tags across multiple pages that need updating.