我如何翻译这个(更少):
.urlBox {
background: #ddd;
border-radius: 5px;
padding: 5px;
+ .urlBox {
margin-top: 5px;
}
}转到Styletron
到目前为止,我得到了以下信息:
const UrlBox = styled('div', {
background: '#ddd',
borderRadius: '5px',
padding: '5px',
});但是我不知道怎么做兄弟选择器(+)。
发布于 2017-05-26 02:59:38
在JSS中,我们有nested语法,它类似于less/sass。
https://stackoverflow.com/questions/44187488
复制相似问题