Show HN: CSS ICON, an icon set crafted by pure CSS
11–20 of 69 posts
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#12Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#13Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#14Assuming I can find an equivalently desirable icon here, in font awesome, or an SVG; which should I prefer?
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#15I remember seeing similar projects [1][2] in the past and pondered usage of the `currentColor`.
Btw, there are several occurrences of white components [4]; they are necessary for "breaking" lines, but surprisingly there are very few of them and overall do't break much [3].
[1] http://cikonss.zzapdeveloped.it/ [2] http://one-div.com/ (warning, hugely ad infested currently) [3] console: document.styleSheets[0].insertRule('.iconWrapper,.iconViewer{background-color: #999 !important}',0)
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#16What is cheaper CPU and download wise? CSS icons or font icons.
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#17Assuming I can find an equivalently desirable icon here, in font awesome, or an SVG; which should I prefer?
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#18Why not just use SVG inside a data url? E.g., as in [1]. [1] https://en.wikipedia.org/wiki/Data_URI_scheme#Examples
in the intro youtube video I said more about that. But to be honest, I just had a lot of fun dealing with the constraints that comes with css and loved the creating process, I spent a few weekends keeping designing and coding those tiny icons and skipped a lot of sleeping and still had fun.
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#19Why not just use SVG inside a data url? E.g., as in [1]. [1] https://en.wikipedia.org/wiki/Data_URI_scheme#Examples
Re: Show HN: CSS ICON, an icon set crafted by pure CSS
#20Well, for me on Firefox 50.0b6, Chrome 54 and IE 11 on Win 8.1 the previews look the same, but then there are some differences when you check a specific one - for example the smiley has an upper lip on Firefox - http://cssicon.space/#/icon/smiley :) http://i.imgur.com/XlqKPhW.png . Still the idea is very cool, you can basicly do anything with CSS (if anyone is interested check https://cssquests.com/ , the name is sel…
I haven't tested it but I am guessing it has better rendering time, it has much less code than SVG (with their path, it is often quite long) and you can style it (such for hover state) and animate it more easily.
With SVG, you can do the same, but it has to be inline in HTML, no img tag embed SVG and such, so if you have 2 of the same icons on the same page, the code has be to repeatedly inserted twice in the html, but with css it just share the same classname.