Closed
Description
Hello. i try to use autoprefixer http://symfony.com/doc/current/frontend/encore/postcss.html
I have a main.scss which import css style
@import "style.css";
style.css
body
{
display: flex;
transition: all .5s;
user-select: none;
background: linear-gradient(to bottom, white, black);
}
but after build styles are not autoprefixed
if i include this style to main.scss - styles look like
body {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-transition: all .5s;
-o-transition: all .5s;
transition: all .5s;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
background: -webkit-gradient(linear, left top, left bottom, from(white), to(black));
background: -webkit-linear-gradient(top, white, black);
background: -o-linear-gradient(top, white, black);
background: linear-gradient(to bottom, white, black);
}
webpack.config
.addEntry('app', [
'./app/Resources/public/js/main.js'
])
main.js
import './../scss/app.scss';
Metadata
Metadata
Assignees
Labels
No labels