I installed juliancwirko:postcss
package.
Removed standard-minifier-css
.
Installed Lost with npm install --save-dev lost
.
And my package.json is this:
{
"name": "app",
"private": true,
"scripts": {
"start": "meteor run"
},
"devDependencies": {
"autoprefixer": "^6.3.6",
"lost": "^6.7.2"
},
"dependencies": {
"meteor-node-stubs": "~0.2.0",
"postcss": {
"plugins": {
"postcss-easy-import": {},
"postcss-nested": {},
"postcss-simple-vars": {},
"rucksack-css": {},
"lost": {},
"autoprefixer": {
"browsers": [
"last 2 versions"
]
}
}
},
"react": "^15.0.1",
"react-dom": "^15.0.1",
"react-komposer": "^1.8.0",
"react-mounter": "^1.2.0"
}
}
In the client folder my css file is this:
.lost-test {
lost-column: 1/3;
background: black;
}
section {
height: 100%;
}
In the React component, related HTML section is this:
<section>
<div className="lost-test">1</div>
<div>2</div>
</section>
What I was expecting: A piece of column, not the entire row, in black.
What I got: Entire row in black.
What am I doing wrong?