excuse me! do you know how to isolate certain links, if that makes sense? i try putting effects on my description links ( glowing, spinning, fade, ect.), but instead of it working on only my description links, ALL of the links on my blog get that effect. i'm pretty sure i just mucked up somewhere when i was originally coding, but can i ask if you know of a tutorial or how to fix it?
Hi there! Yes, I do nwn It’s quite simple!
Let’s say we have a div with the ID #example, with all our links in it, like so:
We want to add an effect, but to these links and to only these links. The way to do that is to style them in our CSS like this, with the important part in bold:
#example a { color:black; text-shadow:0px 0px 5px #fff; just:someexamples; ...}
The bolded part of the CSS says, “Apply these properties to the links (a) only within this specific containing element (#example)!”
If we want to add effects or change properties on hover, we can write it just the same way, e.g.
#example a { ...}#example a:hover { ...}
That’s all there is to it! I hope this was helpful. Please let me know if there’s anything I can clarify, or anything else I can help you with!