How to use iconsax in CSS

 

1 - Install package from GitHub 

In this recommended package you can find icons and font used for displaying those icons with all formats recommended by browsers

git clone https://github.com/polysaad/icons

2 - How to display my icons using HTML tag

you can add icon anywhere you need for example div, button, i and more with this method.
<i class='isax isax-search-normal-1'></i>

3 - How to display my icons using CSS

for using icon in CSS you can add the code like content: "\e901";  

.class::after {
    font-family: "iconsax";
     content: "\e901";
}

Welcome! My name is Saad, I'm web developer, graphic designer and UI/UX designer. I love creating fun things.

Post a Comment

© Wird Dev. All rights reserved. Developed by Jago Desain