segmentio / myth

A CSS preprocessor that acts like a polyfill for future versions of the spec.
4.33k stars 131 forks source link

box-sizing #122

Closed eswak closed 9 years ago

eswak commented 9 years ago

Hi guys,

I think it would be a good idea to add prefixes to the box-sizing CSS rule by default. Some not-so-old browsers (like FF28) still require the -moz- prefix to understand it.

Caniuse link : http://caniuse.com/#search=box-sizing

I'm not sure about how to submit a pull request here, I'm just using the gulp-myth community plugin to prefix our CSS, and some client complained about a layout issue related to the box-sizing sizing with his FF24. I checked out the problem and turns out this property is not prefixed by myth !

MoOx commented 9 years ago

This is related to autoprefixer not myth. You just need to provide the correct browsers option which is passed to autoprefixer https://github.com/postcss/autoprefixer#browsers