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

SVG can be color responsive (change color based on the user's dark/light prefs). It can also be size responsive (change based on max width or aspect). Video can't

https://jsbin.com/nohamuguze/edit?html,css,output

edit: sigh.... Works in Firefox and Chrome. Has issues in Safari - I'm sure I could futs with it more and get it to work everywhere but still, sadness



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

Search: