not getting display: -webkit-flex with any options
See original GitHub issueSafari 8 needs display: -webkit-flex
.
With any options I pass — I on’t get it. Even with such hardcore as:
gulp.task('cssOwn:build', () => {
return gulp.src(path.src.css) // css: 'src/css/styles.scss',
.pipe(sass({
includePaths: [path.dist.css],
errLogToConsole: true
}))
.pipe(sass().on('error', sass.logError))
.pipe(prefixer({
browser: ['last 10 versions']
}))
.pipe(sourcemaps.write('./maps'))
.pipe(gulp.dest(path.dist.css))
.pipe(connect.reload())
});
This results in:
ol.o-list {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-ms-flex-flow: column;
flex-flow: column;
-webkit-box-align: stretch;
-ms-flex-align: stretch;
align-items: stretch;
-webkit-box-pack: justify;
-ms-flex-pack: justify;
justify-content: space-between; }
It sets display: -webkit-box;
for Safari 6, but not display: -webkit-flex
for Safari 8
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
display:flex not working in Chrome - Stack Overflow
This worked perfectly in Firefox, but I'm working on the mobile version of my site and added box-sizing:border-box; to my code. This messed...
Read more >Backwards compatibility of flexbox - CSS - MDN Web Docs
Flexbox is very well supported across modern browsers, however there are a few issues that you might run into. In this guide we...
Read more >Forums - CSS - Flexbox Not Working On Safari - CSS-Tricks
The problem is that on safari the navbars aren't fluid and don't stretch to match the container width. HI, The problem is caused...
Read more >CSS flex property - W3Schools
Note: If the element is not a flexible item, the flex property has no effect. ... queries to create a different layout for...
Read more >Cross-browser issues with Flexbox - fastfwd
It means adding another div or pseudo-elements. Moreover, you have to have exact widths of at least one element to make sure they...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@farcaller browser → browsers
@rouberg there is better way. Always put browsers to
.browserslistrc
config (as we recommend). If you usebrowsers
option, cssnano’s Autoprefixer (Babel and many other tools) will have different browsers. If you use Browserslist config, all your tools will have the same target browsers.