Skip to content
#

postcss

Here are 2,010 public repositories matching this topic...

stylelint
SandwichTech
SandwichTech commented Apr 26, 2021

When using single-line formatting, it would helpful if the selectors for at-rules could pushed to a new line. For example:

.container { padding: 0; margin: 5px }
@media (min-width: 992px) {
    .container { padding: 5px; margin: 0 }}

A proposed solution would be to add at-rule exceptions for the block-opening-brace-newline-after rule. Or a separate at-rule-opening-brace-newline-af

Improve this page

Add a description, image, and links to the postcss topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the postcss topic, visit your repo's landing page and select "manage topics."

Learn more