Skip to content

Commit 2634589

Browse files
committed
Add docs for vendor prefixing
1 parent a60940e commit 2634589

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

β€ŽREADME.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ export default class Hello extends React.Component {
2727
/* Use props in your CSS */
2828
color: {this.props.color};
2929
30+
/* Adds vendor prefixes */
31+
display: flex;
32+
3033
/* Pseudo selectors */
3134
&:hover {
3235
color: #FFF;
@@ -78,14 +81,10 @@ export default class Hello extends React.Component {
7881

7982
πŸ‘ͺ nested css
8083

81-
πŸ’„ Offical library emoji
82-
83-
--
84-
85-
*Coming soon*
86-
8784
πŸ’» vendor prefixes
8885

86+
πŸ’„ Offical library emoji
87+
8988
--
9089

9190
#### Usage
@@ -119,6 +118,8 @@ I'll probably write a detailed post about it.
119118

120119
Heavily inspired from [glamor](https://github.com/threepointone/glamor), [styled-components](https://github.com/styled-components/styled-components) and [radium](https://github.com/FormidableLabs/radium)
121120

121+
Special thanks to [thysultan](https://twitter.com/thysultan) for [stylis](https://github.com/thysultan/stylis.js)
122+
122123
#### Support
123124

124125
If you think πŸ’„ is useful for your project, ⭐️ this repo for my motivation πŸ™‡πŸ»

β€Žexample/hello.js

+3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,9 @@ export default class Hello extends React.Component {
1717
/* Use props in your CSS */
1818
color: {this.props.color};
1919
20+
/* Adds vendor prefixes */
21+
display: flex;
22+
2023
/* Pseudo selectors */
2124
&:hover {
2225
color: #FFF;

0 commit comments

Comments
Β (0)