Show newer

Recent Nuxt releases are taking the developer experience to the next level, with some newer features that speed up and simplify developer processes. @sarah_edo shows us what's new in this post!
css-tricks.com/new-nuxt-featur

RT Josh W. Comeau
New blog post: ⭐️ “The World of CSS Transforms” ⭐️
The `transform` property is ridiculously versatile. It can help with so many otherwise-challenging layouts and effects, IF you understand it well.
That's what this post is all about! Check it out:

joshwcomeau.com/css/transforms

RT Adam Argyle
user adaptive frosted glass 😎
```
.adaptive-glass {
--glass-lightness: 100%;
background: hsl(0 0% var(--glass-lightness) / 50%);
backdrop-filter: blur(40px);
@media (prefers-color-scheme: dark) {
--glass-lightness: 0%;
}
}
```
codepen.io/argyleink/pen/qBmJy

RT Adam Argyle
`:focus-visible`
Lets the browser decide whether or not to show focus
Video shows the difference between `:focus` and `:focus-visible` when Javascript is used to focus buttons after mouse interaction
tldr;
less concerns / better UX
Learn more
web.dev/learn/css/pseudo-class

"SVG Gobbler is a browser extension that finds the vector content on the page you're viewing and gives you the option to download, optimize, copy, view the code, or export it as an image."
css-tricks.com/svg-gobbler/

Inspecting compiled CSS is one of those things we all know is a god idea but I'd bet few do. @andyford did it and significantly improved a Sass loop with custom properties.
css-tricks.com/efficient-infin

"[...] truly consider all other options before using a [browser window] breakpoint. Ask, is the component expected to always be related to the page size (headers, modals, etc.)? Then a breakpoint might be acceptable."
– @donniedamato
css-tricks.com/gridless-design

I (Geoff) have been guilty of at least one of the buggy React code examples that @elliotclydenz not only shows, but solves, here.
css-tricks.com/three-buggy-rea

If you're tired of working with the same horizontal and vertical navs, @rpsthecoder has some ideas using CSS shapes.
css-tricks.com/using-css-shape

"CSS Module Scripts" are a native browser feature, as opposed to the popular open-source project that essentially does scoped styles by creating unique class name identifiers in both HTML and CSS.
css-tricks.com/css-modules-the

Pretty darn cool how @bret_cameron was able to combine code and music theory to make a playable synth keyboard.
css-tricks.com/how-to-code-a-p

So you want to self-publish books and courses on programming? @lorendsr gets down to brass tacks on what it takes.
css-tricks.com/so-you-want-to-

Show older
小森林

每个人都有属于自己的一片森林,也许我们从来不曾走过,但它一直在那里,总会在那里。迷失的人迷失了,相逢的人会再相逢。愿这里,成为属于你的小森林。