DEV Community

loading...
Cover image for Changes Color, Use Any Icons and Text In CSS::marker

Changes Color, Use Any Icons and Text In CSS::marker

w3hubs profile image w3hubs.com ・1 min read

:: marker is pseudo-element for use in list-item in ul, li side. So here we made this simple and useful pseudo-element with the help of CSS properties.

In this element, we normally used CSS properties like font size, color, and content to show icons and text. The main part is that::marker to do this entire change. Also, we used to hover selector to change bullets color and icons, text. Following this pseudo-element, you can use behalf of before and after selector and you can save a line of CSS code.

Make it yours now by using it, downloading it, and please share it. we will design more elements for you.

Source Code

Discussion (0)

pic
Editor guide