liquidlight / postcss-pseudo-content-insert Goto Github PK
View Code? Open in Web Editor NEWplugin inserts an empty content block into your :before and :after pseudo elements if it is missing
License: MIT License
plugin inserts an empty content block into your :before and :after pseudo elements if it is missing
License: MIT License
In the case where you don't want it to add content, add a flag or custom property to tell plugin not to add it
At the moment there is just a generic warning letting you know the selectors that don't have content. Print out line numbers (that would be awesome)
E.g.
span::before {
content: 'How you doing?';
font-weight: bold;
}
span::before,
div::after {
overflow: hidden;
}
Integrate into work flow and create a version 1.0
for release
At the moment, the README is very basic - it should ideally be updated to be a bit more informative.
postcss-pseudo-elements-content adds content: '' to :before-c and :after-c.
postcss-pseudo-content-insert adds content: '' to :before and :after if it is missing.
I found these statements identical, so can you tell me what is a difference?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.