paulirish / css3please

use Autoprefixer instead. <3
http://css3please.com
388 stars 65 forks source link

@media query #95

Closed chrsr closed 11 years ago

chrsr commented 12 years ago

Basic media query template (max-width only, no max-device-width!). Optionally I could look at styling the reduced screen version so the styles wrap but I don't think it's necessary.

paulirish commented 12 years ago

cool! :)

is the reason here because its annoying to type out the MQ syntax? at first glance, it seems a little out of scope for the project

chrsr commented 12 years ago

Cheers :) Yeah using CSS3 as a snippet base I've found myself looking for this here. I did kept it to a minimum because really when I copy & paste I just want the @media screen and (max-width: x) {..} bit.

Don't want to bloat the project though so out of scope is fair (I can think of a number of other marginal properties).

chrsr commented 12 years ago

The copy / pasta still needs work, I'll push another update.

chrsr commented 12 years ago

Copy paste is now functional. Happy either way if you want to merge or close this request.