Skip to content

A PostCSS plugin that formats single-property rules on one line.

License

Notifications You must be signed in to change notification settings

aleray/postcss-single-line

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PostCSS Single Line

A PostCSS plugin that formats single-property rules on oneline.

Example

postcss([
    require('postcss-single-line')
])
/* Input example */
.foo {
  opacity: .5;
}

.bar {
  opacity: .5;
  outline: 1px solid red;
}
/* Output example */
.foo { opacity: .5; }

.bar {
  opacity: .5;
  outline: 1px solid red;
}

About

A PostCSS plugin that formats single-property rules on one line.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages