New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-pseudo-elements-content

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-pseudo-elements-content

PostCSS plugin adds `content: ''` to `:before` and `:after` pseudo-elements

2.0.1
latest
Source
npm
Version published
Weekly downloads
45
-26.23%
Maintainers
1
Weekly downloads
 
Created
Source

PostCSS Pseudo Elements Content

Build Status npm

PostCSS plugin adds content: '' to :before and :after pseudo-elements.

.foo:before-c {
  display: block;
  width: 10px;
  height: 10px;
}
.bar .baz:after-c {
}
.foo:before {
  display: block;
  width: 10px;
  height: 10px;
  content: '';
}
.bar .baz:after {
  content: '';
}

Usage

postcss([ require('postcss-pseudo-elements-content') ])

See PostCSS docs for examples for your environment.

Keywords

postcss

FAQs

Package last updated on 09 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts