Adding the same id multiple times increases the specificity of a selector and thus overrides other selectors.
e.g.
#myId span {color: red; }
#myId#myId#myId span { color: blue; }
Adding the same id multiple times increases the specificity of a selector and thus overrides other selectors.
e.g.
#myId span {color: red; }
#myId#myId#myId span { color: blue; }
0 Comments
No comments yet.