正在加载视频...

视频加载失败

CSS only animated exclusive accordion update 🚀 details { interpolate-size: allow-keywords; } ::details-content { transition: content-visibility, height; transition-behavior: allow-discrete; } [open]::details-content { height: auto; }

51,127 次观看 • 1 年前 •via X (Twitter)

10 条评论

Nine 的头像
Nine1 年前

Can you make a css based ui library called jhey/ui

Alexis Morin 的头像
Alexis Morin1 年前

What version of Chrome will have support for the ::details-content pseudo-element?

mh 的头像
mh1 年前

Probably going to be a while until this is useful, right?

Eugene Korchagin 的头像
Eugene Korchagin1 年前

God Are you magician?

Gustav Ekerot 的头像
Gustav Ekerot1 年前

where's the npm package jhey!? seriously though, would be cool with a css-only based component lib, copy paste á la shadcn

Sudhansu Bhushan Mishra 的头像
Sudhansu Bhushan Mishra1 年前

Thank you for sharing this codepen

👑 Satoshi 16px 的头像
👑 Satoshi 16px1 年前

You inspire me man!! Its crazy what you do with Css

Manu | UX UI Designer 的头像
Manu | UX UI Designer1 年前

Nice!!!!

Facundo Muoio 的头像
Facundo Muoio1 年前

Wow! Men, it is so pretty accordion. I would like to know where you learn these CSS skills.

Carlito 的头像
Carlito1 年前

Sorcery!

相关视频