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

Fascinating to realize that CSS can do that. I guess it does it by “calling” x.png 1024 times and y.png 768 times? Or running some loop to call 1024x.png and 768y.png...


No loop necessary, maybe just a set of @media rules with e.g. custom .png resources: https://developer.mozilla.org/en-US/docs/Web/CSS/@media




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

Search: