Closed suiyun39 closed 5 years ago
I fix some grammar in vue.css.
And. I think we should refactor the project use less or sass or other CSS preprocessor. They can help us reduce code line. Such as:
less
sass
a:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 { margin-top: 0; padding-top: 0; }
if we use less:
a:first-child{ h1, h2, h3, h4, h5, h6 { margin-top: 0; padding-top: 0; } }
Thank you for your contribution, the project is small and simple, it feels unnecessary.
If you have time, help me refactor it.
Sure And I only want to simplify some selector
I fix some grammar in vue.css.
And. I think we should refactor the project use
less
orsass
or other CSS preprocessor. They can help us reduce code line. Such as:if we use less: