An obsolete argument for today's web where tools help us with the linting and prefixing when needed, automatically.
There are only a bunch of properties you need to prefix directly inside the #css source, for the rest, there is @Autoprefixer
Stylelint works on top of PostCSS. There is no good way to use Stylelint with old indent-based Sass syntax because there is no PostCSS parser for Sass syntax (only for SCSS).
You may be interested in SugarSS, PostCSS-based Sass-like syntax.
github.com/postcss/sugarss
RubyMine 2021.1 makes inspecting your CSS code with #Stylelint easier. You can now fix problems with this popular linter in just a few clicks.
#NewInRubyMine
This seems like a good time to share with you all that on Tuesday we’re moving to Savannah GA.
I’ve released an updated PostCSS Nesting plugin & pushed updates to the Container Queries polyfill in review.
I might seem slower this week.
I hope to make friends as things reopen. ❤️
Some personal OSS news. I was able to update 4 PostCSS plugins over the last week. That’s after nearly 2 years of scarce activity. The anxiety relief has been huge. I’m focusing on my hope that these tools help folks.
The @when at-rule extends the concept of CSS conditional rules to arbitrary chains.
Authors could unify @media & @container styles into a single rule with this, when they felt it was appropriate.
tabatkins.github.io/specs/cs…
I do think authors will want to make this decision at the component-level.
And this is not syntactically possible without something like an @-when rule.
ALT The following CSS:
```
@when media(width >= 35em), container(width >= 35em) {
.first {
--column: full;
margin-bottom: 0.5rem;
}
}
```
... 😍 OK, so last night managed to get a #Deno runtime natively compiling #PostCSS with autoprefixer. No external packaging/transforming/bundling. #JavaScript
PostCSS 8.2.12 was released. We fixed DEP0148 deprecation warning from Node.js 16:
“Use of deprecated folder mapping "./" in the "exports" field”
github.com/postcss/postcss/i…
Release’s engraving about alchemy by Raphael Custos, 1616.
CSS-in-JS with runtime (like Styled Components) has a noticeable negative effect on Lighthouse metrics.
When @pustelto moved from Styled Components to Linaria (one of the zero-runtime CSS-in-JS), he reduced Total Blocking Time by 800ms.
pustelto.com/blog/css-vs-css…
New plugin postcss-easy-z from @midfilecrisis brings a framework for work with z-index.
Say No to magic numbers like z-index: 1000. With CSS Custom Properties you will have functions z-over() and z-under().
github.com/CSSSR/postcss-eas…
New plugin postcss-easy-z from @midfilecrisis brings a framework for work with z-index.
Say No to magic numbers like z-index: 1000. With CSS Custom Properties you will have functions z-over() and z-under().
github.com/CSSSR/postcss-eas…