Post >> Hugo’s new CSS powers • A recent update can make it easier than ever to style your site, depending on how you want to do that styling.
#CSS #webdev #Hugo #preprocessing #postprocessing #PostCSS #LightningCSS #Sass #scss #esbuild #cssBuild
Un-Sass’ing My CSS: Compiling Multiple CSS Files Into One, by @sturobson@front-end.social:
www.alwaystwisted.com/articles/UnSassing-my-CS...
#css #sass #postcss
Compiling Multiple CSS Files Into One, by @geoff@front-end.social (@csstricks@mastodon.social):
css-tricks.com/compiling-multiple-css-f...
#css #sass #postcss #tooling
#Development #Approaches
Compiling multiple CSS files into one · Simplify your setup with a custom script or PostCSS ilo.im/166t50 by Stuart Robson
_____
#Files #CSS #Sass #PostCSS #JavaScript #NodeJS #Tooling #WebDev #Frontend
What We Learned From Creating PostCSS, by @sitnik_en@mastodon.social and @travisturner.bsky.social (@evilmartians@mastodon.social):
evilmartians.com/chronicles/what-we-learn...
#postcss #history #lessons #tipsandtricks
Small CSS upgrade, big developer happiness!
Chrome now supports the stretch sizing keyword in CSS—which means we can finally ditch those tedious `calc(100% - margin)` gymnastics. It’s cleaner, clearer, and just works.
#CSS #WebDev #PostCSS #DX
I've been creating a new postcss extension for #Astro. There might be a better way to debug, but I wanted to see what the resulting CSS bundles would look like, so I created a little utility. Not sure if it would be useful to anyone else. gist.github.com/BoDonkey/e0c...
#postcss #devrel #open-source
After reading this, checked my existing styling as processed through autoprefixer, found the vendor prefixes that had been added, and manually added them to my styling — so it now doesn’t require any additional tools for cross-browser compatibility.
#WebDev #Browsers #CSS #PostCSS #Autoprefixer
Screenshot of some CSS source code using the new contrast color function : .foo { background-color: purple; color: contrast-color(purple); } .bar { background-color: pink; color: contrast-color(pink max); }
New #PostCSS plugin 🎉 github.com/csstools/pos...
It generates dynamic color values for users preferring more or less contrast :
codepen.io/romainmenke/...
Post >> TIL some info about PostCSS Preset Env and Browserslist • When all else fails, I go to the source and ask.
www.brycewray.com/posts/2024/0...
#WebDev #CSS #PostCSS #Browserslist
Just learned something I’d hoped was true: if your project has a more updated version of browserslist than what’s in postcss-preset-env, postcss-preset-env will use the better data instead of what’s in its own browserslist dependency:
github.com/csstools/pos...
#WebDev #CSS #PostCSS #browserslist
Something new for #css #postcss github.com/csstools/pos...
At first I didn't really see it but the light-dark function is so much more than a convenience method for the media query 🎉
Post >> Using Lightning CSS with Hugo: back to the workaround • Why a clear separation between dev mode and prod mode made sense.
www.brycewray.com/posts/2024/0...
#WebDev #CSS #LightningCSS #PostCSS #SSG #Hugo