The CSS content property along with ::after
and ::before
pseudo-elements have been introduced for this.
.item:hover a p.new-label:after{
content: 'ADD';
}
More Related Contents:
- My Website is Mirror-flipped on iPhone Devices
- Fill SVG path element with a background-image
- Thick underline behind text
- Favicon not showing up in Google Chrome [duplicate]
- Apply CSS styles to an element depending on its child elements [duplicate]
- Space between nowrap inline blocks [duplicate]
- Remove Select arrow on IE
- Difference between Width:100% and width:100vw?
- CSS background image alt attribute
- How do I remove the blue styling of telephone numbers on iPhone/iOS?
- Font Rendering / Line-Height Issue on Mac/PC (outside of element)
- How do I justify a horizontal list?
- Table tbody scroll in IE8
- difference between width auto and width 100 percent
- How can I prevent the scrollbar overlaying content in IE10?
- Font awesome is not showing icon
- CSS3 border-radius clipping issues
- Inverted Scooped corners using CSS
- CSS transform origin issue on svg sub-element
- transition for background-image in firefox?
- CSS Layout 2-Column fixed-fluid [closed]
- Create a Reverse Clip-Path – CSS or SVG
- Border around specific rows in a table?
- Object-fit not affecting images
- Making a div that covers the entire page
- Word wrap a link so it doesn’t overflow its parent div width [duplicate]
- How to calc() the number of rows in a grid template?
- Is it possible to set a src attribute of an img tag in CSS?
- How to fill 100% of remaining height?
- How to make a table with equal column widths in CSS?