tailwindcss
postcss-plugins
tailwindcss | postcss-plugins | |
---|---|---|
2 | 19 | |
38,847 | 996 | |
- | 1.0% | |
9.6 | 9.7 | |
over 4 years ago | 5 days ago | |
CSS | CSS | |
MIT License | MIT No Attribution |
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.
tailwindcss
-
Tailwind cli doesnt work even when I do everything right. everything is blank, including the default button.
/* 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4) 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116) */
-
Why You Should Start an Open Source Project
A persistent audio player powered by vue and some visuals from tailwindcss, v-tooltip, v-progress, vue-ionicons & xns-seek-bar
postcss-plugins
-
The CSS Odyssey: Why I Turned back to CSS After Trying Everything Else
Media query has limitations. @media(min-width: var(--breakpoint-lg)) won't work. PostCSS plugins support custom media query @custom-media --small-viewport (max-width: 30rem);, then @media (--small-viewport). Still duplications, but at least I can have breakpoints all defined in one file.
- Rethinking CSS in JS
-
Release Radar · August 2024: Major updates from the open source community
Who likes modern CSS? PostCSS Preset Env can help you convert modern CSS into readable browser code, by determining the polyfills needed based on the target browser or runtime environment. The latest version brings support for CSS nesting to align with the latest specifications, and the order of nested declarations and rules are preserved to better support mixins. This new update only supports Node.js 18 or higher. Check out the full list of changes in the release notes.
-
Supporting ancient browsers using modern Web-Tooling
To bring modern CSS features to older browsers, we can use postcss-preset-env. PostCSS allows you to use modern and or future CSS features and automatically adds prefixes and, most importantly, polyfills as needed. If you don't know PostCSS, you probably already heard of Tailwind, right? It's just another PostCSS-Plugin ;)
-
Modern CSS Layouts: You Might Not Need a Framework for That
Sass variables and CSS Custom Properties (a.k.a. CSS variables) are pretty different from each other [1].
If you want to use CSS Nesting and be backwards compatible with older browsers, the PostCSS plugin postcss-preset-env handles that and lots of other new CSS features that older browsers don't support [2].
[1]: https://sass-lang.com/blog/sass-and-native-nesting/
[2]: https://preset-env.cssdb.org
-
Old Dogs, New CSS Tricks
> If you want to use the normal non-& syntax, then you will need to use Safari 17.2, yes.
Non-& is not “the normal syntax”. It was a late addition to the specification. Both with and without & are normal, but with & has better compatibility.
Even if you don’t use the &, you can still write nested CSS and support older versions of Safari, like I said. Use PostCSS or Lightning CSS. There are normally several areas where you can start writing modern CSS today and fill in the backwards compatibility with these tools. It’s not just nesting.
https://preset-env.cssdb.org
https://lightningcss.dev/transpilation.html
-
PostCSS - my initial experience
the author of the most popular PostCSS plugin himself recommended the postcss-preset-env over his own creation which is cssnex, and
-
CSS Is Fun Again
The example in A) won't work as the plugin can't convert the functions with variables in it. https://github.com/csstools/postcss-plugins/tree/main/plugin...
-
What are some harsh truths that r/webdev needs to hear?
You can use this today if you're using PostCSS in your build process (which is the case if you use autoprefixer)! https://preset-env.cssdb.org/
-
Vanilla+PostCSS as an Alternative to SCSS
Switching from a ready-made tool like Sass or a recommendation package like cssnext (deprecated since 2019) or PostCSS Preset Env (archived in 2022), to the modular PostCSS Preset Env plugin set we can choose a helpful and convenient set of future CSS features beyond the current stable client CSS.
What are some alternatives?
pollen - book-publishing system [mirror of main repo at https://git.matthewbutterick.com/mbutterick/pollen]
react-refresh-webpack-plugin - A Webpack plugin to enable "Fast Refresh" (also previously known as Hot Reloading) for React components.
xns-audio-player-simple - xns-audio-player vue plugin with a simple ui
cssnano - A modular minifier, built on top of the PostCSS ecosystem. [Moved to: https://github.com/cssnano/cssnano]
pollen - The CSS variables build system
css-houdini-drafts - Mirror of https://hg.css-houdini.org/drafts