r/WebdevTutorials • • Feb 28 '20

500 Pure CSS Icons

Hi 👋 everyone,

Would like to share this project I made - https://css.gg

It is a Minimalistic icon library Designed by code.

500 Customizable & Retina-Ready icons. Entirely built in CSS.

The website is also built entirely using CSS & HTML where icon selection is done with radio buttons and no JS whatsoever, even icon selection and cookies are set inline via CSS.

Why I am sharing is that you can open a single icon from where you see how the icon is built and it is a very good learning experience specially for beginners so when you inspect it will be highlighted.

Easy integration: Embed, NPM & API.

And most importantly it is open-source: https://github.com/astrit/css.gg

296 Upvotes

27 comments sorted by

View all comments

2

u/r4ytracer Feb 28 '20

That's amazing! I looked at some of the source css code but I still don't quite understand how you made each shape, I'll have to play around with it!

4

u/astritmalsia Feb 28 '20

Basically before getting in to it you must know at least 3 things how box model works how shadow works and how borders work and then just use them to your advantage, some are really hard to achieve and some are very easy, but requires a lot of time.

2

u/r4ytracer Feb 28 '20

I see! thanks!