Created
July 10, 2015 18:19
-
-
Save mmmeff/416a40279749e600f22c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.super-element { | |
&__inner-stuff { | |
width: 69px; | |
} | |
@media screen and (max-width: 760px;) { | |
&__farts { | |
height: 10px; | |
} | |
} | |
} | |
.whatever-element { | |
content: 'you-get-the-picture-by-now...'; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
importCss myElements from 'myElements.less'; | |
class SuperElement extends React.Component { | |
constructor(props) { | |
super(props); | |
} | |
render() { | |
return ( | |
<super-element className={myElements.superElement}> | |
whatever | |
</super-element> | |
); | |
} | |
} | |
export default SuperElement; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment