I want to add shadow to all the text into a website. The text is in different elements of the website.
Now I was thinking of 2 things.
1) add a class to all the containers with text, and just give the class the text-shadow style. This will give me a lot of work tho, adding a class the all the elements in the website. And what will this do with the DOM?
2) Add styling to all the elements:
h1,h2,h3,li,p,span{text-shadow:1px 1px 1px rgba(51, 69, 78, 0.5);}
Which one of the 2 is better to use, or is there a better, more optimized way to do this?