Show newer

"Basically, any time you run across some cool front-end thing, there might be an opportunity to make an interactive generator for that thing." —@johnpolacek
css-tricks.com/building-a-cool

So, you have a reusable web component. And you have a CMS. @storykaboom shows how to make them work together in a WP setup.
css-tricks.com/using-web-compo

Where's the line between Static vs. Dynamic vs. Jamstack? @mikeneumegen says it's a lot blurrier than at first glance.
css-tricks.com/static-vs-dynam

Napkin: Sorta like Zapier, except you write code (if you want to) to make easy-to-build cloud functions that can be triggered by anything from RSS to HTTP requests to Slack messages.
css-tricks.com/napkin/

The little "View Source" tool by Neatnik makes it possible to view source on a mobile device!
css-tricks.com/view-source-on-

Parsing, processing, enhancing, and converting Markdown needs code. @KittyGiraudel has a way to keep Markdown out of the client in a Next.js application.
css-tricks.com/responsible-mar

One of the smaller and, yet for some reason, super exciting things about CSS nesting is how we'll be able to nest media queries.
css-tricks.com/css-nesting-spe

Cross-origin iframes are basically the heart of how CodePen works. You write code, we execute it for you in an iframe that doesn't share the same domain as CodePen itself, as the first line of defense. We didn't hear any heads up or anything.
css-tricks.com/choice-words-ab

Re Just another great post by @ChallengesCss

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

Show older
小森林

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