What you would like to change/add
I'd like to put forth a standard for spacing between css/sass/less blocks.
Why you would like to change/add this
To attempt to make code more readable and standardized across all projects.
Examples
Top level blocks should be one after the other:
.code-block-one {
// <styles>
}
.code-block-two {
// <styles>
}
Child blocks should have a single new line above them:
.code-block-one {
// <styles>
.child-of-code-block-one {
// <styles>
}
}
.code-block-two {
// <styles>
.child-of-code-block-two {
// <styles>
.nested-child-of-code-block-two {
// <styles>
}
}
}
Checklist
Voting
👍 Yes
👎 No
What you would like to change/add
I'd like to put forth a standard for spacing between css/sass/less blocks.
Why you would like to change/add this
To attempt to make code more readable and standardized across all projects.
Examples
Top level blocks should be one after the other:
Child blocks should have a single new line above them:
Checklist
Voting
👍 Yes
👎 No