我正在尝试以排版梅类的所有h元素为目标。一个接一个地写是很烦人的:
typography: {
"& h1": {
fontWeight: "400",
},
"& h2": {
fontWeight: "400",
},
"& h3": {
fontWeight: "400",
},
"& h4": {
fontWeight: "400",
},
"& h5": {
fontWeight: "400",
},
"& h6": {
fontWeight: "400",
},
}这应该有一个更短的语法吗?
发布于 2020-06-29 04:36:51
tyopgraphy: {
'& h1, & h2, & h3, & h4, & h5, & h6': {
fontWeight: '400',
},
},https://stackoverflow.com/questions/62627805
复制相似问题