#CSS

yamanoku's avatar
yamanoku

@yamanoku@hollo.yamanoku.net

text-autospaceの初期値をめぐる議論と現状 - Qiita

https://qiita.com/uhyo/items/309bc9ca545797c2b3ee

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

全然技術レベルの違う話ではあるけど、自分もデザイナーなのに っぽい選択をしてきた気がしている。
正確には、自分のスキルと時間的制約とワンオペでの制作・開発という事情でその選択肢しかなかったという側面が大きくて、能動的に選べる選択肢がそれしか無かったんだけど。
ただ、確かに低レイヤーを触る動機が生まれるという意味では良い面もあった気はする。
自分の生存戦略が、なるべくフレームワークとかライブラリに依存しないスキルの勉強にかける、だったから、そういう観点で当時選んだのが「薄い」フロントエンドライブラリとしての だったし、未だに素の を書きたくなってしまう性質に繋がっている気がする。

hackers.pub/@hongminhee/2025/c

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

全然技術レベルの違う話ではあるけど、自分もデザイナーなのに っぽい選択をしてきた気がしている。
正確には、自分のスキルと時間的制約とワンオペでの制作・開発という事情でその選択肢しかなかったという側面が大きくて、能動的に選べる選択肢がそれしか無かったんだけど。
ただ、確かに低レイヤーを触る動機が生まれるという意味では良い面もあった気はする。
自分の生存戦略が、なるべくフレームワークとかライブラリに依存しないスキルの勉強にかける、だったから、そういう観点で当時選んだのが「薄い」フロントエンドライブラリとしての だったし、未だに素の を書きたくなってしまう性質に繋がっている気がする。

hackers.pub/@hongminhee/2025/c

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

You created a CSS shape using shape(), and you want to invert it? Easy! With a few lines of code, you have both the main shape and its cut-out version.

css-tip.com/invert-shape/

As a bonus, you can also control the space around the inverted shape.

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
A shape and its cut-out version (I am using the CSS tricks logo as an example but it can be any shape)
ALT text detailsA shape and its cut-out version (I am using the CSS tricks logo as an example but it can be any shape)
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

You created a CSS shape using shape(), and you want to invert it? Easy! With a few lines of code, you have both the main shape and its cut-out version.

css-tip.com/invert-shape/

As a bonus, you can also control the space around the inverted shape.

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
A shape and its cut-out version (I am using the CSS tricks logo as an example but it can be any shape)
ALT text detailsA shape and its cut-out version (I am using the CSS tricks logo as an example but it can be any shape)
zeldman's avatar
zeldman

@zeldman@front-end.social

Just like it says: in . A nutritious part of Brad Woods’s Digital Garden.
h/t: @photomatt.

garden.bradwoods.io/notes/css/

3D grid visualized.
ALT text details3D grid visualized.
zeldman's avatar
zeldman

@zeldman@front-end.social

Just like it says: in . A nutritious part of Brad Woods’s Digital Garden.
h/t: @photomatt.

garden.bradwoods.io/notes/css/

3D grid visualized.
ALT text details3D grid visualized.
zeldman's avatar
zeldman

@zeldman@front-end.social

Pure CSS animations that react to scrolling and other behavior. Easy to create, and just as easy to understand, thanks to this fabulous, fast-reading tutorial by Saron Yitbarek.

Hat tip: @jensimmons

webkit.org/blog/17101/a-guide-

zeldman's avatar
zeldman

@zeldman@front-end.social

Pure CSS animations that react to scrolling and other behavior. Easy to create, and just as easy to understand, thanks to this fabulous, fast-reading tutorial by Saron Yitbarek.

Hat tip: @jensimmons

webkit.org/blog/17101/a-guide-

Sara Soueidan's avatar
Sara Soueidan

@SaraSoueidan@front-end.social

Seeing carousels being promoted as accessible again, so here is a periodic reminder:

carousels are not "accessible by default" sarasoueidan.com/blog/css-caro

They are still highly experimental and there are still many open questions & issues being discussed.

+The browser will not do everything for you—you'll still have work to do, too.

Sara Soueidan's avatar
Sara Soueidan

@SaraSoueidan@front-end.social

Seeing carousels being promoted as accessible again, so here is a periodic reminder:

carousels are not "accessible by default" sarasoueidan.com/blog/css-caro

They are still highly experimental and there are still many open questions & issues being discussed.

+The browser will not do everything for you—you'll still have work to do, too.

CSS Basics's avatar
CSS Basics

@cssbasics@hachyderm.io

Better Shapes Using shape(), Part 2: More on Arcs: "This is the second part of a series that dives deep into the CSS shape() command, continuing with a more detailed look at the arc command." css-tricks.com/better-css-shap

CSS Basics's avatar
CSS Basics

@cssbasics@hachyderm.io

Better Shapes Using shape(), Part 2: More on Arcs: "This is the second part of a series that dives deep into the CSS shape() command, continuing with a more detailed look at the arc command." css-tricks.com/better-css-shap

CSS Basics's avatar
CSS Basics

@cssbasics@hachyderm.io

Creating Blob Shapes using clip-path: shape(): "Blobs! Gooey weird shapes you can fill with any background and even animate." frontendmasters.com/blog/creat

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Do you know safe alignment? It's when you make sure your overflowing content is always fully accessible on scroll regardless of the alignment configuration.

css-tip.com/safe-align/

It's not something new but you are probably not aware about it.

CSS Basics's avatar
CSS Basics

@cssbasics@hachyderm.io

Creating Blob Shapes using clip-path: shape(): "Blobs! Gooey weird shapes you can fill with any background and even animate." frontendmasters.com/blog/creat

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

とかで容易に模倣できない演出を「最新の UI トレンド」としてユーザーに印象付けてネイティブアプリのプラットフォームとしてアドバンテージを水増ししようとしているように見えなくもないんだよな…

それが穿った見方という自覚はあるんだけど、いままでの UI から背景色の不透明度と背景ブラーの量を下げて視認性を犠牲にしてまであの光の乱反射みたいな演出を際立たせる理由が、それ以外に今のところは思いつかないんだよな…

Appleが新デザイン「Liquid Glass」発表、全ての製品で採用 - ケータイ Watch
k-tai.watch.impress.co.jp/docs

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Do you know safe alignment? It's when you make sure your overflowing content is always fully accessible on scroll regardless of the alignment configuration.

css-tip.com/safe-align/

It's not something new but you are probably not aware about it.

Chee Aun 🤔's avatar
Chee Aun 🤔

@cheeaun@mastodon.social

This took longer than expected. Pretty cool that it works.

Post featured in video: tapbots.social/@mark/114617305

Demo of CSS view transitions applied when opening thumbnail images of a post into its own image modal.
ALT text detailsDemo of CSS view transitions applied when opening thumbnail images of a post into its own image modal.
Chee Aun 🤔's avatar
Chee Aun 🤔

@cheeaun@mastodon.social

This took longer than expected. Pretty cool that it works.

Post featured in video: tapbots.social/@mark/114617305

Demo of CSS view transitions applied when opening thumbnail images of a post into its own image modal.
ALT text detailsDemo of CSS view transitions applied when opening thumbnail images of a post into its own image modal.
Angelika Cathor's avatar
Angelika Cathor

@angelikatyborska@mas.to

My team is still looking to hire two mid or senior frontend developers, fully remotely from Europe.

We're looking for like-minded individuals that share our love of artisanal , web standards, and

On the website team at Storyblok, we build marketing websites *for* Storyblok *using* Storyblok 🙂 (but we don't build the product itself)

storyblok.com/job?gh_jid=45196

Angelika Cathor's avatar
Angelika Cathor

@angelikatyborska@mas.to

My team is still looking to hire two mid or senior frontend developers, fully remotely from Europe.

We're looking for like-minded individuals that share our love of artisanal , web standards, and

On the website team at Storyblok, we build marketing websites *for* Storyblok *using* Storyblok 🙂 (but we don't build the product itself)

storyblok.com/job?gh_jid=45196

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Excited about the new if() function? Learn how to correctly use it before facing a lot of issues (and headaches).

css-tip.com/inline-if/

The code below looks straightforward, but there is a hidden gotcha! 🤨

The following CSS code:
.box {
  --n: 6; 
  --f: calc(var(--n)/2); 
  background: if(style(--f: 3): red; else: green); 
}
ALT text detailsThe following CSS code: .box { --n: 6; --f: calc(var(--n)/2); background: if(style(--f: 3): red; else: green); }
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Excited about the new if() function? Learn how to correctly use it before facing a lot of issues (and headaches).

css-tip.com/inline-if/

The code below looks straightforward, but there is a hidden gotcha! 🤨

The following CSS code:
.box {
  --n: 6; 
  --f: calc(var(--n)/2); 
  background: if(style(--f: 3): red; else: green); 
}
ALT text detailsThe following CSS code: .box { --n: 6; --f: calc(var(--n)/2); background: if(style(--f: 3): red; else: green); }
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

The fun continues using shape()!

For this second part, we are drawing more CSS shapes while exploring the arc command. It's a very tricky command if you don't fully understand it.

css-tricks.com/better-css-shap

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

The fun continues using shape()!

For this second part, we are drawing more CSS shapes while exploring the arc command. It's a very tricky command if you don't fully understand it.

css-tricks.com/better-css-shap

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

👀

coliss.com/articles/build-webs

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

shape() + Anchor Positioning + some magic 🪄

Demo: codepen.io/t_afif/full/PwqwOYz via :codepen: @codepen

A CSS-only fancy effect for this week

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

shape() + Anchor Positioning + some magic 🪄

Demo: codepen.io/t_afif/full/PwqwOYz via :codepen: @codepen

A CSS-only fancy effect for this week

Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

🔟 521 ❤️ Pure toggle with a single `input[type=checkbox]` and its `label` - check it out on @codepen codepen.io/thebabydino/pen/ajp

Animated GIF. Shows a ball toggling back and forth on a 3D track while casting a shadow. When the toggle is off, the ball is grey. When the toggle is on, the ball is green.
ALT text detailsAnimated GIF. Shows a ball toggling back and forth on a 3D track while casting a shadow. When the toggle is off, the ball is grey. When the toggle is on, the ball is green.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

🔟 521 ❤️ Pure toggle with a single `input[type=checkbox]` and its `label` - check it out on @codepen codepen.io/thebabydino/pen/ajp

Animated GIF. Shows a ball toggling back and forth on a 3D track while casting a shadow. When the toggle is off, the ball is grey. When the toggle is on, the ball is green.
ALT text detailsAnimated GIF. Shows a ball toggling back and forth on a 3D track while casting a shadow. When the toggle is off, the ball is grey. When the toggle is on, the ball is green.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

9️⃣ 593 ❤️ Cycling gradient glow with no text duplication - see it on @codepen codepen.io/thebabydino/pen/rNP

A super simple, but cool trick.

We create the gradient text.

The filter creates a blurred copy of it and places it underneath.

We then animate the stops... magic! 🪄✨

Animated GIF. Gradient text having the same gradient for its text glow. The gradient cycles in between two hues 90° apart.
ALT text detailsAnimated GIF. Gradient text having the same gradient for its text glow. The gradient cycles in between two hues 90° apart.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

8️⃣ 736 ♥️ Pure 1 div card patterns (no SVG, no images other than CSS gradients) - see it on @codepen codepen.io/thebabydino/pen/NWx

A bunch of variations on the pure CSS technique detailed in this article frontendmasters.com/blog/pure-

19 cards, each with a different kind of halftone pattern.
ALT text details19 cards, each with a different kind of halftone pattern.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

7️⃣ 749 ❤️ Pure Möbius 6hedrons codepen.io/thebabydino/pen/mJo

The how behind I live coded it in 30 minutes css-tricks.com/how-i-live-code

Could be improved with CSS variables nowadays, see css-tricks.com/simplifying-css as well as by using CSS trigonometric functions.

Animated GIF. Shows a Möbius strip made up of square base bars that keep rotating by half a turn in a staggered manner.
ALT text detailsAnimated GIF. Shows a Möbius strip made up of square base bars that keep rotating by half a turn in a staggered manner.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

6️⃣ 816 ❤️ no sprite, no JS twitter 🤍 animation codepen.io/thebabydino/pen/RRR

Behind the demo css-tricks.com/recreating-the-

Now twitter uses an SVG heart 👍 (that path data though 😵) and upon clicking, inserts a div with the sparks. There are better ways to do it... still better than sprites!

Shows the twitter heart animation with sparks flying away from it as it goes from grey to red on click.
ALT text detailsShows the twitter heart animation with sparks flying away from it as it goes from grey to red on click.
The current twitter heart in DevTools: created with an SVG path, but that path data is a lot of char vomit.
ALT text detailsThe current twitter heart in DevTools: created with an SVG path, but that path data is a lot of char vomit.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social

A little thing I made on @codepen.io: breathing with `shape()`
codepen.io/thebabydino/pen/vEE

`shape()` is supported in Chrome 135+ and Safari 18.4+.

Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

A "breathing" square image whose shape gets squished from each of its four sides.
ALT text detailsA "breathing" square image whose shape gets squished from each of its four sides.
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social

A little thing I made on @codepen.io: breathing with `shape()`
codepen.io/thebabydino/pen/vEE

`shape()` is supported in Chrome 135+ and Safari 18.4+.

Firefox 126+ supports it for simple shapes (but not for this demo) when setting thelayout.css.basic-shape-shape.enabled to true in about:config.

A "breathing" square image whose shape gets squished from each of its four sides.
ALT text detailsA "breathing" square image whose shape gets squished from each of its four sides.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

It's me again exploring the new shape() function! ⭐

This time, I wrote a series of articles to help you understand this new and powerful tool and the first part is live 👇

css-tricks.com/better-css-shap

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

It's me again exploring the new shape() function! ⭐

This time, I wrote a series of articles to help you understand this new and powerful tool and the first part is live 👇

css-tricks.com/better-css-shap

Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

5️⃣ 850 ♥️ No SVG, no image fluid slider codepen.io/thebabydino/pen/qBy

used only for
a) feature support detection
b) updating slider value in --val

Uses only
1 × input[type=range] for actual slider
1 × output for current value display
1 × datalist for ruler

One of my best sliders on @codepen.

Fluid vertical slider. Dragging the thumb bends the track and ruller around it. The ruler markings also dynamically fade the further away from the thumb they are. On the right, there is a DevTools panel open to show that this is made with a range input, an output and a datalist with options, all inside a group wrapper.
ALT text detailsFluid vertical slider. Dragging the thumb bends the track and ruller around it. The ruler markings also dynamically fade the further away from the thumb they are. On the right, there is a DevTools panel open to show that this is made with a range input, an output and a datalist with options, all inside a group wrapper.
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

3 Unintuitive Layout “Solutions”

```
min-width: 0?
flex-shrink: 0?
repeat(auto-fill, minmax(min(10rem, 100%), 1fr))
```

wat?
nerdy.dev/3-unintuitive-layout

A horse on a boat on the ocean holding a kitten
ALT text detailsA horse on a boat on the ocean holding a kitten
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

3 Unintuitive Layout “Solutions”

```
min-width: 0?
flex-shrink: 0?
repeat(auto-fill, minmax(min(10rem, 100%), 1fr))
```

wat?
nerdy.dev/3-unintuitive-layout

A horse on a boat on the ocean holding a kitten
ALT text detailsA horse on a boat on the ocean holding a kitten
Jen Simmons's avatar
Jen Simmons

@jensimmons@front-end.social

The one where I muse about how this simple bit of code radically changes how the web itself seems to behave…

**Two lines of Cross-Document View Transitions code you can use on every website today**

webkit.org/blog/16967/two-line

@view-transition { navigation: auto ; }
ALT text details@view-transition { navigation: auto ; }
Inautilo's avatar
Inautilo

@inautilo@mastodon.social


The CSS mindset · CSS makes sense when seen as a set of algorithms ilo.im/1642es

_____

Inautilo's avatar
Inautilo

@inautilo@mastodon.social


The CSS mindset · CSS makes sense when seen as a set of algorithms ilo.im/1642es

_____

Eric A. Meyer's avatar
Eric A. Meyer

@Meyerweb@mastodon.social

⌨️ New blog post about masonry layout, the (fairly) new Item Flow proposal, maybe subsuming multicol, and a light tingling from my Web-Sense. That last part isn’t NSFW, I promise. (Sorry, @brucelawson.) meyerweb.com/eric/thoughts/202

Eric A. Meyer's avatar
Eric A. Meyer

@Meyerweb@mastodon.social

⌨️ New blog post about masonry layout, the (fairly) new Item Flow proposal, maybe subsuming multicol, and a light tingling from my Web-Sense. That last part isn’t NSFW, I promise. (Sorry, @brucelawson.) meyerweb.com/eric/thoughts/202

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Create an arc shape with rounded edges using shape() and arc commands. Another shape made easy using shape() (I know, it's a lot of "shape" in the post 😅)

css-tip.com/arc-shape-rounded/

And look at that if() statement 👀

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
Arc shape with rounded edges
ALT text detailsArc shape with rounded edges
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

3️⃣ 1044 ♥️ Pure gravity button codepen.io/thebabydino/pen/bGz - a bit mixed about it, it was just an exercise in getting a certain result - don't use it in the wild!

My first ever @codepen demo to get to 1K ♥️. And it got copied left and right.
¯\_(ツ)_/¯

Screenshot of the gravity button. Shows round particles appearing and getting pulled towards the button. As they approach, they accelerate and get stretched before smashing into the button and causing sparks.
ALT text detailsScreenshot of the gravity button. Shows round particles appearing and getting pulled towards the button. As they approach, they accelerate and get stretched before smashing into the button and causing sparks.
August 2024 post showing how I found this demo on a website, wrapped in AI-generated crap that claims to explain what's going on. Except it gets it very wrong. And they don't indicate in any way that someone else (me!) made it.
ALT text detailsAugust 2024 post showing how I found this demo on a website, wrapped in AI-generated crap that claims to explain what's going on. Except it gets it very wrong. And they don't indicate in any way that someone else (me!) made it.
My post about finding my demo on in a video on the Indiamoon YouTube channel. The video is 90 seconds of auto-typing code and also doesn't credit me.
ALT text detailsMy post about finding my demo on in a video on the Indiamoon YouTube channel. The video is 90 seconds of auto-typing code and also doesn't credit me.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Create an arc shape with rounded edges using shape() and arc commands. Another shape made easy using shape() (I know, it's a lot of "shape" in the post 😅)

css-tip.com/arc-shape-rounded/

And look at that if() statement 👀

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
Arc shape with rounded edges
ALT text detailsArc shape with rounded edges
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social · Reply to Ana Tudor 🐯's post

2️⃣ 1076 ♥️ Simplest inner glow card animation codepen.io/thebabydino/pen/WNV - a super simple pure demo I made in a few minutes to answer a reddit question and never expected would even get noticed much. It was my only 2024 demo to make into the most hearted 100 Pens of the year on @codepen.

A card with text content, transparent background, rounded corners and a rotating inner edge rainbow gradient glow.
ALT text detailsA card with text content, transparent background, rounded corners and a rotating inner edge rainbow gradient glow.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

My first article about using shape() is live. I am officially a shape() spammer so get ready 🫣

frontendmasters.com/blog/creat

Learn the "arc" command by creating flower-like shapes.

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS Article!

My first article about using shape() is live. I am officially a shape() spammer so get ready 🫣

frontendmasters.com/blog/creat

Learn the "arc" command by creating flower-like shapes.

Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social

I turn 13 on @codepen in June, so here are my 13 most hearted demos:

1️⃣ 1092 ♥️ infinite gallery codepen.io/thebabydino/pen/XJr - my only demo to ever get to 1K ♥️ without being in most hearted of the year first

mostly CSS scroll-driven animations + tiniest bit of JS (~200 bytes for infinity part)

Scrolling a bunch of times back and forth to highlight the infinity part of the demo. Hovering the cards in the gallery makes them rotate around their axis.
ALT text detailsScrolling a bunch of times back and forth to highlight the infinity part of the demo. Hovering the cards in the gallery makes them rotate around their axis.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And here is the CSS logo made with the shape() function.

Demo: codepen.io/t_afif/full/JooZWMq via :codepen: @codepen

Take a deep breath before looking at the code 🫣

The official CSS logo
ALT text detailsThe official CSS logo
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And here is the CSS logo made with the shape() function.

Demo: codepen.io/t_afif/full/JooZWMq via :codepen: @codepen

Take a deep breath before looking at the code 🫣

The official CSS logo
ALT text detailsThe official CSS logo
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

The @codepen logo using the new shape() function.

codepen.io/t_afif/full/JoovLam

Do you think SVG is hard? Wait until this beast becomes widely supported 😈

A CSS code that creates the Codepen logo.
ALT text detailsA CSS code that creates the Codepen logo.
The codepen logo (both dark and light version)
ALT text detailsThe codepen logo (both dark and light version)
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

⚙️ New CSS Generator

It's finally possible. A blob shape using only CSS! 🤩

css-generators.com/blob/

Play with the setting and get a cool shape in no time.
✅ Single element (works with images)
✅ One line of code
✅ Responsive

⚠️ Limited support (Chrome and Safari for now) ⚠️

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

⚙️ New CSS Generator

It's finally possible. A blob shape using only CSS! 🤩

css-generators.com/blob/

Play with the setting and get a cool shape in no time.
✅ Single element (works with images)
✅ One line of code
✅ Responsive

⚠️ Limited support (Chrome and Safari for now) ⚠️

iamdtms's avatar
iamdtms

@iamdtms@mas.to

New features to know for 2025
by @kevinpowell
youtube.com/watch?v=jSCgZqoebs

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

だけでも での を使えることを知った

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Blob in progress! Stay tuned 👀

They are finally possible using only CSS (no SVG and no Canvas)

How? The new shape() function!

random blob shapes
ALT text detailsrandom blob shapes
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Blob in progress! Stay tuned 👀

They are finally possible using only CSS (no SVG and no Canvas)

How? The new shape() function!

random blob shapes
ALT text detailsrandom blob shapes
GENKI's avatar
GENKI

@nibushibu@vivaldi.net · Reply to GENKI's post

をはじめ まわりの最近の進化はほんともっと注目されてよいと思っている。

ってなんか最近のフロントエンドでも「低レイヤーの話」みたいになっちゃってて、目新しいフレームワークっぽいシャレた名前もない「 の新機能!」っていっても、なんかいまいち盛り上がりきらない感があるような気がするんだけど、 はいま素で書くだけでもすごい強力になってきている(むしろフレームワークに寄らずに素の CSS 書きたい気持ちすらある

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

I updated my online generator to add the radius option! The easiest way to generate regular polygons with rounded corners.

css-generators.com/polygon-sha

And look at that border-only version! 🤩

iamdtms's avatar
iamdtms

@iamdtms@mas.to

New features to know for 2025
by @kevinpowell
youtube.com/watch?v=jSCgZqoebs

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

I updated my online generator to add the radius option! The easiest way to generate regular polygons with rounded corners.

css-generators.com/polygon-sha

And look at that border-only version! 🤩

Mayank's avatar
Mayank

@mayank@front-end.social

one of my favorite uses of `:has()` is to change the grid layout based on what's inside the grid

```
grid-template-areas: /* simple layout */

&:has(.thing) {
grid-template-areas: /* more complex layout */;
}
```

Nina Haghighi's avatar
Nina Haghighi

@ninahaghighi@mastodon.social

Back when I was learning about , there was an amazing resource called CSS Zen Garden. It helped expand my knowledge of what was possible. It was like magic. TIL it's still around (no Internet Archive needed). csszengarden.com

Nina Haghighi's avatar
Nina Haghighi

@ninahaghighi@mastodon.social

Back when I was learning about , there was an amazing resource called CSS Zen Garden. It helped expand my knowledge of what was possible. It was like magic. TIL it's still around (no Internet Archive needed). csszengarden.com

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And here is the code to generate any polygon shape with rounded corners!

css-tip.com/rounded-polygon/

Update the variables then get your code (There is another variation using CSS variables as well).

Overview of the CSS code from the link in the post
ALT text detailsOverview of the CSS code from the link in the post
Different polygon shapes with rounded corners
ALT text detailsDifferent polygon shapes with rounded corners
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And here is the code to generate any polygon shape with rounded corners!

css-tip.com/rounded-polygon/

Update the variables then get your code (There is another variation using CSS variables as well).

Overview of the CSS code from the link in the post
ALT text detailsOverview of the CSS code from the link in the post
Different polygon shapes with rounded corners
ALT text detailsDifferent polygon shapes with rounded corners
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Shapes with rounded corners are a nightmare in CSS but it's now easy with the new shape() function! 🥳

Let's start with a classic: The Hexagon

css-tip.com/rounded-hexagon/

Yes, you can animate the radius and rotate the shape. Modern CSS is cool!

Do you want another polygon shape? I am cooking a generic code to create all of them.

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

某所で とか とか最新の のカラー周りの機能について雑談してみて、oklch() とか使って色管理するにはまだデザインソフト側が対応してないからやっぱり採用ハードルあるよなーと思ったんだけど

いまふと「いや、むしろだからこそインブラウザデザインの時代なんじゃないか!?」と思ったりした

:vivaldia_5: インブラウザデザインの夜明けぜよ :macos:

GENKI's avatar
GENKI

@nibushibu@vivaldi.net · Reply to GENKI's post

* 🎨 明度・彩度・色相もそれぞれ変数化できる
* 🧮 特定の色を相対的に変化可能な
* 🌈 色をより人間の知覚に近い形で扱える

このあたりは、現存するどのデザインツールよりも、現在のブラウザーで使える の機能のほうが柔軟で拡張性が高い。

…あれ、ということはやっぱり最強のデザインツールは なのでは :vivaldia_1:

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

某所で とか とか最新の のカラー周りの機能について雑談してみて、oklch() とか使って色管理するにはまだデザインソフト側が対応してないからやっぱり採用ハードルあるよなーと思ったんだけど

いまふと「いや、むしろだからこそインブラウザデザインの時代なんじゃないか!?」と思ったりした

:vivaldia_5: インブラウザデザインの夜明けぜよ :macos:

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

変数を活用したフレームワークの の作者で Chrome for developers でも最新の を中心にたくさんの記事を執筆してる Adam Argyle さん、急に Google での仕事を失った(クビになった?)っぽい…
何があったんだ…

G̶o̶o̶g̶l̶e̶r̶… ex-Googler. · April 10, 2025
nerdy.dev/ex-googler

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

変数を活用したフレームワークの の作者で Chrome for developers でも最新の を中心にたくさんの記事を執筆してる Adam Argyle さん、急に Google での仕事を失った(クビになった?)っぽい…
何があったんだ…

G̶o̶o̶g̶l̶e̶r̶… ex-Googler. · April 10, 2025
nerdy.dev/ex-googler

Vivaldi's avatar
Vivaldi

@Vivaldi@vivaldi.net

🚨 New Podcast! What’s next for CSS? Bruce chats with Miriam Suzanne, CSS expert and independent contributor to the CSS Working Group, about game-changing features like Cascade Layers, Scope, Mixins, and Container Queries, and how they’re shaping the future of web design.

🎧 Spotify: open.spotify.com/episode/4D72M
📺 YouTube: youtu.be/ukUewXT_Ifk

Podcast episode image of Bruce Lawson and Miriam Suzanne. Text title: EP08 Tales from the CSS Working Group.
ALT text detailsPodcast episode image of Bruce Lawson and Miriam Suzanne. Text title: EP08 Tales from the CSS Working Group.
Vivaldi's avatar
Vivaldi

@Vivaldi@vivaldi.net

🚨 New Podcast! What’s next for CSS? Bruce chats with Miriam Suzanne, CSS expert and independent contributor to the CSS Working Group, about game-changing features like Cascade Layers, Scope, Mixins, and Container Queries, and how they’re shaping the future of web design.

🎧 Spotify: open.spotify.com/episode/4D72M
📺 YouTube: youtu.be/ukUewXT_Ifk

Podcast episode image of Bruce Lawson and Miriam Suzanne. Text title: EP08 Tales from the CSS Working Group.
ALT text detailsPodcast episode image of Bruce Lawson and Miriam Suzanne. Text title: EP08 Tales from the CSS Working Group.
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

new Notebook
- relative color

nerdy.dev/notebook/relative-co

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

new Notebook
- relative color

nerdy.dev/notebook/relative-co

pablolarah's avatar
pablolarah

@pablolarah@mastodon.social

🟡🔵 Matching drop shadows across CSS, Android, iOS, Figma, and Sketch
by @bjango.com @bjango

bjango.com/articles/matchingdr

White text "Matching drop shadows across CSS, Android, iOS, Figma, and Sketch" with blue shadow on yellow background.
ALT text detailsWhite text "Matching drop shadows across CSS, Android, iOS, Figma, and Sketch" with blue shadow on yellow background.
pablolarah's avatar
pablolarah

@pablolarah@mastodon.social

🟡🔵 Matching drop shadows across CSS, Android, iOS, Figma, and Sketch
by @bjango.com @bjango

bjango.com/articles/matchingdr

White text "Matching drop shadows across CSS, Android, iOS, Figma, and Sketch" with blue shadow on yellow background.
ALT text detailsWhite text "Matching drop shadows across CSS, Android, iOS, Figma, and Sketch" with blue shadow on yellow background.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Want to see some magic using the new attr() function? Here is a trick to create a progress element with a dynamic coloration based on the progression!

css-tip.com/custom-progress/

⚠️ Chrome-only for now ⚠️

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
Progress elements with dynamic coloration
ALT text detailsProgress elements with dynamic coloration
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Want to see some magic using the new attr() function? Here is a trick to create a progress element with a dynamic coloration based on the progression!

css-tip.com/custom-progress/

⚠️ Chrome-only for now ⚠️

Overview of the CSS code from the provided link
ALT text detailsOverview of the CSS code from the provided link
Progress elements with dynamic coloration
ALT text detailsProgress elements with dynamic coloration
Inautilo's avatar
Inautilo

@inautilo@mastodon.social


Revisiting CSS ‘border-image’ · “It remains one of the most underused CSS tools.” ilo.im/162y7m

_____

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

only carousels arrive in Chrome 135

nerdy.dev/css-carousel-in-chro

a series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
ALT text detailsa series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

only carousels arrive in Chrome 135

nerdy.dev/css-carousel-in-chro

a series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
ALT text detailsa series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

only carousels arrive in Chrome 135

nerdy.dev/css-carousel-in-chro

a series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
ALT text detailsa series of quick cuts showcasing many of the carousel examples from the Carousel Gallery
Ana Tudor 🐯's avatar
Ana Tudor 🐯

@anatudor@mastodon.social

For everyone who has told me the + stuff I've been sharing is cool, remember that praise doesn't pay for all this work..

but you can ko-fi.com/anatudor

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

amazing what a few lines of can do

codepen.io/argyleink/pen/LEYOg

image gallery shown in 3 columns. column left animated images in from the left, while the right column does it from the right. creates a "coming together" effect as the 3 columns of images continues to come to together
ALT text detailsimage gallery shown in 3 columns. column left animated images in from the left, while the right column does it from the right. creates a "coming together" effect as the 3 columns of images continues to come to together
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

amazing what a few lines of can do

codepen.io/argyleink/pen/LEYOg

image gallery shown in 3 columns. column left animated images in from the left, while the right column does it from the right. creates a "coming together" effect as the 3 columns of images continues to come to together
ALT text detailsimage gallery shown in 3 columns. column left animated images in from the left, while the right column does it from the right. creates a "coming together" effect as the 3 columns of images continues to come to together
Mark Wyner Won’t Comply :vm:'s avatar
Mark Wyner Won’t Comply :vm:

@markwyner@mas.to

This is wild. I began designing and building websites in 1995. From today, in 2025, I’ve been designing and writing code for most of the internet’s existence. 👀


w3c.social/@w3c/11415055447195

Mark Wyner Won’t Comply :vm:'s avatar
Mark Wyner Won’t Comply :vm:

@markwyner@mas.to

This is wild. I began designing and building websites in 1995. From today, in 2025, I’ve been designing and writing code for most of the internet’s existence. 👀


w3c.social/@w3c/11415055447195

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

sibling-index() and sibling-count()
available Chrome Canary with experiments enabled!

`transition-delay: calc(sibling-index() * .1s);`

or

```css
--hue: calc(sibling-index() * 50);
color: oklch(70% 70% var(--hue));
```

more info and a Codepen to fork
nerdy.dev/sibling-index

Example using the demo, the list is shuffled and staggering happens again
ALT text detailsExample using the demo, the list is shuffled and staggering happens again
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

sibling-index() and sibling-count()
available Chrome Canary with experiments enabled!

`transition-delay: calc(sibling-index() * .1s);`

or

```css
--hue: calc(sibling-index() * 50);
color: oklch(70% 70% var(--hue));
```

more info and a Codepen to fork
nerdy.dev/sibling-index

Example using the demo, the list is shuffled and staggering happens again
ALT text detailsExample using the demo, the list is shuffled and staggering happens again
Christian Alder's avatar
Christian Alder

@hejchristian@mastodon.social

TIL about CSS image-rendering: pixelated;

Allowing pixel art to scale up to any size and not look bad.

On / Off comparison for increasing scale 32px, 64px, 128px, and 256px.

Four of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect of applying CSS property image-rendering: pixelated; which keeps the crisp pixel effect.
ALT text detailsFour of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect of applying CSS property image-rendering: pixelated; which keeps the crisp pixel effect.
Four of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect without any image-rendering property applied. For each cat up in size, it gets more blurry and looks bad.
ALT text detailsFour of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect without any image-rendering property applied. For each cat up in size, it gets more blurry and looks bad.
Christian Alder's avatar
Christian Alder

@hejchristian@mastodon.social

TIL about CSS image-rendering: pixelated;

Allowing pixel art to scale up to any size and not look bad.

On / Off comparison for increasing scale 32px, 64px, 128px, and 256px.

Four of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect of applying CSS property image-rendering: pixelated; which keeps the crisp pixel effect.
ALT text detailsFour of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect of applying CSS property image-rendering: pixelated; which keeps the crisp pixel effect.
Four of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect without any image-rendering property applied. For each cat up in size, it gets more blurry and looks bad.
ALT text detailsFour of the same pixelart orange tabby cat, of increasing size by powers of two; Showing the effect without any image-rendering property applied. For each cat up in size, it gets more blurry and looks bad.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 The second part is live!

This time, I am using scroll-driven animation to create the star rating component! It's a good exercise to discover some modern features.

css-tricks.com/a-css-only-star via @csstricks

Single element and 100% CSS magic!

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 The second part is live!

This time, I am using scroll-driven animation to create the star rating component! It's a good exercise to discover some modern features.

css-tricks.com/a-css-only-star via @csstricks

Single element and 100% CSS magic!

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

について昨夜調べて少し理解が深まった。
そもそも「色空間」と「カラープロファイル」を自分は少し混同していたので、まずそこの理解が整理できた。
oklch は色空間。色空間は色を数学的に記述する方法であって、あくまで色の「表現方法」なので特定の色の同一性は保持されない。
sRGB とか Display P3 はカラープロファイル。カラープロファイルは、oklch を含む色空間によって記述された色を実際のディスプレイにどういう色で表示するかをマッピングしたもので、つまり色の「再現方法」であり、最終的に出力される色の同一性を保持するためのもの。

GENKI's avatar
GENKI

@nibushibu@vivaldi.net

は設定周りを 関数化して大分 JS から 的なアプローチに変わった感があるけど、CSS 変数はそういう設定周りだけじゃなくてスタイリングの定義にガツガツ使ってはじめて効果が実感できるみたいな感覚もあり、「そこまで CSS 的なアプローチするならそもそも Tailwind 使わなくてよくない?」という気持ちがある。scoped なスタイル書く方法は色々あるわけだし、特に色周りなんかはカラーパレットを段階的に用意するのはもうナンセンスというか、主だった元カラーだけを用意して末端のスタイルでそれらを color-mix() とか color() とかで合成するほうが理にかなってる気がしてきている

Jen Simmons's avatar
Jen Simmons

@jensimmons@front-end.social

What do you want to learn about typography on the web? What CSS have you been meaning to learn? What’s still frustrating or confusing — that you wish you could do or polish more easily?

Jen Simmons's avatar
Jen Simmons

@jensimmons@front-end.social

What do you want to learn about typography on the web? What CSS have you been meaning to learn? What’s still frustrating or confusing — that you wish you could do or polish more easily?

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Made a little tool to better visualize the effect of the new text-box property and also generate the code for you!

css-tip.com/text-box/

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Made a little tool to better visualize the effect of the new text-box property and also generate the code for you!

css-tip.com/text-box/

Tyler Sticka's avatar
Tyler Sticka

@tylersticka@social.lol

I’ve been designing web experiences for 20+ years. While I use and enjoy dedicated design software, I’m pretty sure I design “in the browser” more than most.

Here are just a few reasons why… cloudfour.com/thinks/why-i-lik

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Save this one line of code for the future!

css-tip.com/center-uppercase/

No more hacky code trying to remove those spaces above and below an uppercase text. You can easily have a perfect centering for the text!

An overview of the CSS code from the provided link
ALT text detailsAn overview of the CSS code from the provided link
Illustrating how to remove spaces above and below an uppercase text
ALT text detailsIllustrating how to remove spaces above and below an uppercase text
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 CSS Tip!

Save this one line of code for the future!

css-tip.com/center-uppercase/

No more hacky code trying to remove those spaces above and below an uppercase text. You can easily have a perfect centering for the text!

An overview of the CSS code from the provided link
ALT text detailsAn overview of the CSS code from the provided link
Illustrating how to remove spaces above and below an uppercase text
ALT text detailsIllustrating how to remove spaces above and below an uppercase text
GENKI's avatar
GENKI

@nibushibu@vivaldi.net

この oklch() と current color の使い方好き。
自分も color-mix() でこういう風に currentColor 使ったけど oklch() でこういうふうに書けるならこっちがいいかも :tony_grinning:

Combining currentcolor with relative color syntax

fullystacked.net/currentcolor-

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

fun little kaleidoscope gradient trick

nerdy.dev/css-kaleidoscopes

short preview of the animations from both the linear and radial gradients
ALT text detailsshort preview of the animations from both the linear and radial gradients
Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

fun little kaleidoscope gradient trick

nerdy.dev/css-kaleidoscopes

short preview of the animations from both the linear and radial gradients
ALT text detailsshort preview of the animations from both the linear and radial gradients
GENKI's avatar
GENKI

@nibushibu@vivaldi.net

めっちゃアガる記事だった

OKLCH, explained for designers | Samuel Wong — Hong Kong UI/UX Designer | Desktop of Samuel

desktopofsamuel.com/oklch-expl

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Turn your image into a fancy heart animation ♥️

css-tip.com/heart-shape-hover-

A CSS only single-element implementation

A reveal animation where a heart is split in two part to reveal an image.
ALT text detailsA reveal animation where a heart is split in two part to reveal an image.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Turn your image into a fancy heart animation ♥️

css-tip.com/heart-shape-hover-

A CSS only single-element implementation

A reveal animation where a heart is split in two part to reveal an image.
ALT text detailsA reveal animation where a heart is split in two part to reveal an image.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Redoing the line-up section of @cssdayconf with a cool hover effect! 🤩

Demo: codepen.io/t_afif/full/raNNbyG via :codepen: @codepen

Psst, there is no keyframes in the code! Can you guess how it's done?

That HTML Blog & The Spicy Web's avatar
That HTML Blog & The Spicy Web

@vanillaweb@intuitivefuture.com

Every time I see utility classes sprayed all over basic tags like <p> and <a>… 😂

That’s What the Cascading Style Sheets are For! (Don Draper yelling meme)
ALT text detailsThat’s What the Cascading Style Sheets are For! (Don Draper yelling meme)
That HTML Blog & The Spicy Web's avatar
That HTML Blog & The Spicy Web

@vanillaweb@intuitivefuture.com

Every time I see utility classes sprayed all over basic tags like <p> and <a>… 😂

That’s What the Cascading Style Sheets are For! (Don Draper yelling meme)
ALT text detailsThat’s What the Cascading Style Sheets are For! (Don Draper yelling meme)
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Redoing the line-up section of @cssdayconf with a cool hover effect! 🤩

Demo: codepen.io/t_afif/full/raNNbyG via :codepen: @codepen

Psst, there is no keyframes in the code! Can you guess how it's done?

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And the horizontal version as well!

Demo: codepen.io/t_afif/full/MYWWjvE via @codepen

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

A fun CSS-only experimentation using modern features (anchor positioning, @​property, :has(), and more!)

Code & Demo: css-tip.com/bouncy-input/

Is it useful? Probably not.
Is it cool? Yes!

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social · Reply to CSS by T. Afif :verified:'s post

And the horizontal version as well!

Demo: codepen.io/t_afif/full/MYWWjvE via @codepen

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

A fun CSS-only experimentation using modern features (anchor positioning, @​property, :has(), and more!)

Code & Demo: css-tip.com/bouncy-input/

Is it useful? Probably not.
Is it cool? Yes!

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

30 scroll driven animation examples

which is your favorite?
- z-stack and slither are mine

nerdy.dev/scroll-driven-animat

Adam Argyle :chrome:'s avatar
Adam Argyle :chrome:

@argyleink@front-end.social

30 scroll driven animation examples

which is your favorite?
- z-stack and slither are mine

nerdy.dev/scroll-driven-animat

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Adding another CSS shape to the collection

css-shape.com/pointy-box/

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Adding another CSS shape to the collection

css-shape.com/pointy-box/

Chris Gioran 💔's avatar
Chris Gioran 💔

@chrisg@fosstodon.org

Does support filters on its elements?

Of course it does, for years.

Ah, but does support it?

Of course not, because it's webkit.

Why can't you just be normal meme

Two panels, stacked.

First shows a blonde woman in the front seat of a car. She is turning to look back and yells at whomever is there. Caption reads in white letters "me, trying to write a web page" and in yellow letters "why can't you just be normal"

Second panel shows a blonde boy sitting at the back seat of a car. It is yelling, looking up and away from the direction of the front seat. Caption reads in white letters "webkit" and in yellow letters "*screams""
ALT text detailsWhy can't you just be normal meme Two panels, stacked. First shows a blonde woman in the front seat of a car. She is turning to look back and yells at whomever is there. Caption reads in white letters "me, trying to write a web page" and in yellow letters "why can't you just be normal" Second panel shows a blonde boy sitting at the back seat of a car. It is yelling, looking up and away from the direction of the front seat. Caption reads in white letters "webkit" and in yellow letters "*screams""
Chris Gioran 💔's avatar
Chris Gioran 💔

@chrisg@fosstodon.org

Does support filters on its elements?

Of course it does, for years.

Ah, but does support it?

Of course not, because it's webkit.

Why can't you just be normal meme

Two panels, stacked.

First shows a blonde woman in the front seat of a car. She is turning to look back and yells at whomever is there. Caption reads in white letters "me, trying to write a web page" and in yellow letters "why can't you just be normal"

Second panel shows a blonde boy sitting at the back seat of a car. It is yelling, looking up and away from the direction of the front seat. Caption reads in white letters "webkit" and in yellow letters "*screams""
ALT text detailsWhy can't you just be normal meme Two panels, stacked. First shows a blonde woman in the front seat of a car. She is turning to look back and yells at whomever is there. Caption reads in white letters "me, trying to write a web page" and in yellow letters "why can't you just be normal" Second panel shows a blonde boy sitting at the back seat of a car. It is yelling, looking up and away from the direction of the front seat. Caption reads in white letters "webkit" and in yellow letters "*screams""
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Another cool shape

Demo: codepen.io/t_afif/full/JoPzpgV via :codepen: @codepen

Also available at: css-shape.com/wiggly-box/

Image inside wiggly boxes (wavy borders on all the sides)
ALT text detailsImage inside wiggly boxes (wavy borders on all the sides)
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

Another cool shape

Demo: codepen.io/t_afif/full/JoPzpgV via :codepen: @codepen

Also available at: css-shape.com/wiggly-box/

Image inside wiggly boxes (wavy borders on all the sides)
ALT text detailsImage inside wiggly boxes (wavy borders on all the sides)
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS article!

Want to understand the logic behind the full-bleed layout technique I shared? Read my latest article @frontendmasters.com

frontendmasters.com/blog/full-

See how modern CSS can improve old methods. A more robust solution with less of code.

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

📝 New CSS article!

Want to understand the logic behind the full-bleed layout technique I shared? Read my latest article @frontendmasters.com

frontendmasters.com/blog/full-

See how modern CSS can improve old methods. A more robust solution with less of code.

randomMDN's avatar
randomMDN

@randomMDN@front-end.social

Greetings to all developers and enthusiasts.

I'm a bot, now on a new instance at front-end.social/! If you're already following, the transition should happen automatically. However, if you have any bookmarked posts, I recommend re-bookmarking the direct links to articles in your browser for safe keeping.

Starting December 15th, the original instance will no longer be active. I'll send a reminder before then.

Matthias Ott's avatar
Matthias Ott

@matthiasott@mastodon.social

About three weeks ago, I had the honor to speak at the 10th anniversary edition of about the most powerful design tool for the Web: the new .

The video of the talk is now up! 🎉

I hope you like it. And in case you do, SMASH THAT LIKE BUTTON!!! 😁 (Am I doing this right, @kevinpowell?)

youtube.com/watch?v=su6WA0kUUJE

Mayank's avatar
Mayank

@mayank@front-end.social

one of my favorite uses of `:has()` is to change the grid layout based on what's inside the grid

```
grid-template-areas: /* simple layout */

&:has(.thing) {
grid-template-areas: /* more complex layout */;
}
```

CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

New CSS Project! 🥳

Are you looking for a CSS Shape? look no further!

👉 css-shape.com 👈

The Ultimate Collection of CSS-Only shapes
✅ Single-element implementation
✅ Optimized code
✅ Easy to customize using CSS variables
✅ One click to copy the code

Stop relying on old and obsolete resources. Use modern CSS to create Shapes! 🤩

A home page recording of the shared link.
ALT text detailsA home page recording of the shared link.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

🎉 New CSS Project 🎉

It took me a while, but I finally collected all my CSS-only loaders into one place! 🥳

👉 css-loaders.com 👈

The Biggest Collection of Loading Animations. More than 500 single-element CSS loaders. Yes, only one element per loader!

Related Article: dev.to/afif/css-loaderscom-the

Pick your favorite one and share it 👇

The banner of the CSS Loaders website
ALT text detailsThe banner of the CSS Loaders website
Cloud Four's avatar
Cloud Four

@cloudfour@mastodon.social

Hello, fediverse! 👋🐘

We’re Cloud Four, a small but mighty agency founded in the Pacific Northwest. 🌥🌲

We solve complex responsive web design and development challenges for ecommerce, healthcare, fashion, B2B, SaaS, and nonprofit organizations. ✨📱

cloudfour.com/

Tyler Sticka's avatar
Tyler Sticka

@tylersticka@social.lol

Fresh for a fresh instance 👋

I’m Tyler Sticka, a designer and creative director. I co-own @cloudfour, a small but mighty and company. I do a lot of my design in the browser, and I frequently write about , and .

I’m also occassionally a (Ramps was briefly an early App Store hit) and / (I love to draw).

The author at a standing desk, drawing in a sketchbook while talking.
ALT text detailsThe author at a standing desk, drawing in a sketchbook while talking.
The author smiling while holding a small terrier. The color of his shirt coordinates with flowers in the background.
ALT text detailsThe author smiling while holding a small terrier. The color of his shirt coordinates with flowers in the background.
A self-portrait of the author's brain escaping out his ear when he checks his notifications too often. The brain is screaming.
ALT text detailsA self-portrait of the author's brain escaping out his ear when he checks his notifications too often. The brain is screaming.
CSS by T. Afif :verified:'s avatar
CSS by T. Afif :verified:

@css@front-end.social

💡 I shared a lot of CSS Tips on the bird app so I decided to put everything in a website for easy finding.

👉 css-tip.com👈

A simple website powered by :11ty: @eleventy with more than 60 CSS Tips to date.

Want an RSS Feed for the future Tips? Here you go: css-tip.com/feed/feed.xml

Don't know where to start? Surprise yourself with a random CSS Tip: random.css-tip.com

(You can find all the code on Github: github.com/Afif13/CSS-Tip)

CSS Tip: learn CSS the easy way
ALT text detailsCSS Tip: learn CSS the easy way
Christian Niklas's avatar
Christian Niklas

@websident@indieweb.social

Here is my :

My name is Christian, I live in Tübingen in southern .
I'm a developer. I love working with and , especially but I'm also interested in and .

Beside that I am a "addict", especially (but not only) . I can hardly live one day without listing, playing or .

I love good . My side project: Translating "Het grote voorleesboek" into German without speaking any .

treefit's avatar
treefit

@treefit@fosstodon.org

Hi, I'm treefit, a dev working on . I'm responsible for the desktop client together with @jikstra.
My favorite coding language is , but I "speak" , , , , too.
I'm also capable in and , but not as much.

I'm new to the mastodon/toot style of communication (never used Twitter, either), so I'm still learning of how this all works.

My goal is to give you some behind-the scenes peeks onto the DeltaChat development.

Jikstra's avatar
Jikstra

@jikstra@fosstodon.org

Time for a little :)

I'm Jikstra, a developer working on desktop and a few smaller side projects. I do and . I want to use this account to blog about ideas, experiments and dev things.