// package.json
"browserslist": [
"last 2 version",
"IE 10",
"IE 11"
],
Need IE 10 Prefixes in your Wordpress Genesis Child Theme CSS File?
The Gulpfile in WP Genesis uses the 'gulp-wp-toolkit'. To specify the supported browsers in CSS files, you can use 'browserslist' as specified in the code snippet in your 'package.json'. Browserslist' is already integrated in Gulp - nobody told you that and it is not documented anywhere. Good Job!
- https://github.com/craigsimps/gulp-wp-toolkit
- https://www.npmjs.com/package/browserslist
IE 10+ Flex
Since IE sucks with Flexbox, read this:
- https://stackoverflow.com/questions/43979702/display-flex-not-working-on-internet-explorer/43979973
- https://github.com/philipwalton/flexbugs
- https://stackoverflow.com/questions/11173106/apply-style-only-on-ie
The Gulpfile in WP Genesis uses the 'gulp-wp-toolkit'. To specify the supported browsers in CSS files, you can use 'browserslist' as specified in the code snippet in your 'package.json'. Browserslist' is already integrated in Gulp - nobody told you that and it is not documented anywhere. Good Job!
- https://github.com/craigsimps/gulp-wp-toolkit
- https://www.npmjs.com/package/browserslist
IE 10+ Flex
Since IE sucks with Flexbox, read this:
- https://stackoverflow.com/questions/43979702/display-flex-not-working-on-internet-explorer/43979973
- https://github.com/philipwalton/flexbugs
- https://stackoverflow.com/questions/11173106/apply-style-only-on-ie
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.