I am creating a WordPress website. Currently, the anchor tag is set to a mid-green color and I would like all of my links to be this color. Except for my titles for my blog posts, which is subsequently a link and an h2. I just found out today that even if I give a color property of white to my h2, it will be overridden by my anchor tag properties. So, with that said, I need to know how to make my blog posts white. Here is the code I am dealing with…
transition: all 0.3s ease-in;
-webkit-transition: all 0.3s ease-in; /*Safari & Chrome*/
-moz-transition: all 0.3s ease-in; /* Firefox 4 */
-o-transition: all 0.3s ease-in; /* Opera */
If you first don’t succeed, delete what you wrote and type it again. Thank you @theacefes for reminding me to double-check my code. Using CodePen to prove your point was helpful as well. You can’t really argue with CodePen. If it works on there, it should work on my localhost. Sigh. So, thank you @TheDoc and @theacefes! It works now. I probably forgot a semicolon or a bracket the first time around.