Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rbelling/postcss-safe-curly-braces
PostCSS plugin to transform '}}' in '} }'
https://github.com/rbelling/postcss-safe-curly-braces
css handlebars postcss postcss-plugin vuejs
Last synced: about 2 hours ago
JSON representation
PostCSS plugin to transform '}}' in '} }'
- Host: GitHub
- URL: https://github.com/rbelling/postcss-safe-curly-braces
- Owner: rbelling
- License: mit
- Created: 2017-07-28T14:25:18.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-10-13T14:07:55.000Z (about 6 years ago)
- Last Synced: 2024-03-23T18:21:37.815Z (8 months ago)
- Topics: css, handlebars, postcss, postcss-plugin, vuejs
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# PostCSS Safe Curly Braces [![Build Status][ci-img]][ci]
[PostCSS] plugin that adds a white space between closing curly braces.
This is useful when inlining css into a Handlebars template.
[PostCSS]: https://github.com/postcss/postcss
[ci-img]: https://travis-ci.org/[email protected]/postcss-separate-curly-braces.svg
[ci]: https://travis-ci.org/[email protected]/postcss-separate-curly-braces```css
@media(hover:hover){.foo{display:none}}
``````css
@media(hover:hover){.foo{display:none} }
```## Usage
```js
postcss([ require('postcss-safe-curly-braces') ])
```See [PostCSS] docs for examples for your environment.