css-experiments | postcss-when | |
---|---|---|
2 | 1 | |
0 | 0 | |
- | - | |
6.3 | 0.0 | |
7 months ago | over 1 year ago | |
CSS | JavaScript | |
BSD 2-clause "Simplified" License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
css-experiments
Posts with mentions or reviews of css-experiments.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-28.
-
More CSS reactions
All the experiments mentioned in this and the previous article are available in source code here and published here.
-
Simple reactions in HTML + CSS
Finally I collected all these experiments in a github repo.
postcss-when
Posts with mentions or reviews of postcss-when.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-12-04.
-
Simple reactions in HTML + CSS
But... this is still hacky! Can we do better? Yes, we can, using PostCSS to transform @when rules to the css we have seen above. I could not find any PostCSS plugin for this, so I created one that is really quick and dirty, but works for this simple use case. You can find it here.
What are some alternatives?
When comparing css-experiments and postcss-when you can also consider the following projects:
postcss-plugins - PostCSS Tools and Plugins
PostCSS - Transforming styles with JS plugins
postcss-dynamic-value
WHATWG HTML Standard - HTML Standard