Snippets tagged “html-span-tag”
3 snippets use this tag.
- How to Change the Color of the First Word in a TextCSS
In this tutorial, you can see how to change the color of the first word of a text. For that, use the CSS :before pseudo-element with the content property.
- How to Change the Style of the "title" Attribute Within an Anchor TagCSS
Since actually, we cannot style the “title” attribute inside an anchor tag, we suggest using some other methods of styling the tooltip inside an anchor tag.
- How to Select the Last Second Element with CSSCSS
In this snippet, you’ll find out how to select the last second element with pure CSS. To achieve the goal, you need to use the CSS :nth-last-child() pseudo-class.