Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

267 bytes vs 1026 :)

<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><path fill="#F60" d="M0 0h100v100H0z"/><path d="M50 77V50M73.685 14.377 50 50M26.465 14.449l23.26 35.623" fill="none" stroke="#FFF" stroke-width="8.787"/><path fill="#F60" d="M0 0h100v23.743H0z"/></svg>



I mean really you should measure it after gzip/brotilli since that is the size that matters.


It matters client-side in RAM. ;)


You're right - still smaller but now 199 vs 448 bytes.

Wonder if it can be made any smaller?


    <div style=“background-color:orange;color:white;border:1px solid white”>Y</div>
?

Disclaimer: from memory and tongue in cheek. May not work!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: