Skip to content

Commit d9eebf0

Browse files
siddharthkpMicheleBertoli
authored andcommitted
Update css-constructor to 0.1.1 (#47)
1 parent 31d6d21 commit d9eebf0

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ For example, if a package supports the css file extraction you can run the autop
2323
| [bloody-react-styled](https://github.com/bloodyowl/react-styled) | 3.0.0 | | x | x | | |
2424
| [classy](https://github.com/inturn/classy) | 0.3.0 | | x | x | x | |
2525
| [csjs](https://github.com/rtsao/csjs) | 1.0.0 | | x | x | | |
26-
| [css-constructor](https://github.com/siddharthkp/css-constructor) | 0.0.4 | | | | | |
26+
| [css-constructor](https://github.com/siddharthkp/css-constructor) | 0.1.1 | x | x | x | | |
2727
| [css-loader](https://github.com/webpack/css-loader) | 0.15.6 | | x | x | | x |
2828
| [css-ns](https://github.com/jareware/css-ns) | 1.0.0 | | x | x | | x |
2929
| [cssobj](https://github.com/cssobj/cssobj) | 0.2.21 | x | x | x | x | |

css-constructor/button.js

+12
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,18 @@ class Button extends Component {
2323
border-radius: 5px;
2424
border: none;
2525
outline: none;
26+
&:hover {
27+
color: #fff;
28+
}
29+
&:active {
30+
position: relative;
31+
top: 2px;
32+
}
33+
@media (max-width: 480px) {
34+
& {
35+
width: 160px;
36+
}
37+
}
2638
`;
2739

2840
render() {

css-constructor/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"author": "Michele Bertoli",
99
"license": "MIT",
1010
"dependencies": {
11-
"css-constructor": "0.0.4",
11+
"css-constructor": "0.1.1",
1212
"react": "^15.3.0",
1313
"react-dom": "^15.3.0"
1414
},

0 commit comments

Comments
 (0)