css before and after pseudo elements example

css before and after pseudo elements example

Today, We will let you know how to add icon before or after text CSS example In this article. you can use the CSS pseudo-elements for add icon before or after the text. we are using the CSS pseudo-elements for this example.

You can learn faster by following our steps.

CSS pseudo-element before the content

In this example, You will place the icon before the select element.

» list item 1

» list item 2

» list item 3

CSS pseudo-element after content

In this example, You will place the icon after the select element.

list item 1 »

list item 2 »

list item 3 »

Read Also
How To Change Style Of Placeholder In Textbox
How To Make Dialog Box/Popup Using Bootstrap
CSS Ul List Styling Using ASCII Special Characters

Related Posts
Please follow and like us: