marvelapp / devices.css

Pure CSS phones and tablets
MIT License
3.95k stars 611 forks source link

Any chance we can get these with percentages instead of absolute widths? #15

Closed jeffstark closed 9 years ago

jeffstark commented 9 years ago

Really love these, but I have a project where i would need to use one in a 100% width container, and I'd like the phone to scale with it.

Thanks!

yumyo commented 9 years ago

actuallly http://CSSDevices.io took an interesting approach using ems, so scaling at breakpoints it's just a metter of changing the parent font-size. Not obsessively pixel perfect but is not an issue if the purpose is showing the content (not the container)