marvelapp / devices.css

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

Use class instead of id to target device #2

Closed oisinlavery closed 9 years ago

oisinlavery commented 10 years ago

.iphone5s > #iphone5s

There doesn't seem to be a reason you are using ids for this. Changing to classes would allow for multiple instances on a page.

Also this: http://css-tricks.com/a-line-in-the-sand/

willscripted commented 10 years ago

:+1:

++ for the link too :D