Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

It's amazing how much you can do with CSS these days.

91,315 Aufrufe • vor 1 Jahr •via X (Twitter)

32 Kommentare

Profilbild von Haz
Hazvor 1 Jahr

Code:

Profilbild von Bernardo
Bernardovor 1 Jahr

Nice! No JS needed is really a must for responsive menu's. Too bad it doesn't work in Firefox though.

Profilbild von Haz
Hazvor 1 Jahr

Yeah, I didn't write it in CodePen, but it's possible to support Firefox and Safari < 26 by gracefully degrading to a static version without anchor positioning or animation.

Profilbild von Brennan McEachran 👨‍🚀
Brennan McEachran 👨‍🚀vor 1 Jahr

You could add an svg filter on that too and get a gooey blob as it goes into/out of the active state. All w/o JS

Profilbild von ImAvibeCoder
ImAvibeCodervor 1 Jahr

Designers are spoiled now: colors, motion and layout magic from one file, clients notice.

Profilbild von Ahmed Tawfik
Ahmed Tawfikvor 1 Jahr

True!, I made this using CSS

Profilbild von Tomer Lerner
Tomer Lernervor 1 Jahr

Css is where my most delightful moments in programming at, and where AI is nowhere near the helper it is in other areas of the application. CSS = the last frontier of the bright shining human creativity in development

Profilbild von V I S H A L 🧑🏻‍💻
V I S H A L 🧑🏻‍💻vor 1 Jahr

Super cool! 🚀 With @MisakiStudio_ , you can achieve this too—only faster, and directly as React components ready to use.

Profilbild von Benzigar Alvin.
Benzigar Alvin.vor 1 Jahr

wow, amazing..

Profilbild von Dom Sip
Dom Sipvor 1 Jahr

Yeah we need a @shadcn equivalent to typical components created only with HTML + CSS. Main use case is MegaNav. The web would be a much better place

Profilbild von Alf | Motion designer
Alf | Motion designervor 1 Jahr

Amazing work brother

Profilbild von Jigs
Jigsvor 1 Jahr

That's like an art 👨🏻‍🎨

Profilbild von yhigorrr (builder arc)
yhigorrr (builder arc)vor 1 Jahr

wow.

Profilbild von Nitish
Nitishvor 1 Jahr

The Fact is people uses js for things that can be possible with css only

Profilbild von Danish Mehrab 🌟
Danish Mehrab 🌟vor 1 Jahr

That's nice. 👌

Profilbild von Israel
Israelvor 1 Jahr

Great work 👏 👍

Profilbild von Ahmet the Cursebearer
Ahmet the Cursebearervor 1 Jahr

Unfortunately Firefox does not support anchor()

Profilbild von Xiu
Xiuvor 1 Jahr

Anchor is a magical thing. He should become a standard css.

Profilbild von Naelo — 🇪🇺 eu/acc
Naelo — 🇪🇺 eu/accvor 1 Jahr

Tailwind/radix variant?

Profilbild von Dovy
Dovyvor 1 Jahr

very clean 👌

Profilbild von at5
at5vor 1 Jahr

@leodebar38842 👀

Profilbild von Elyakim
Elyakimvor 1 Jahr

Beautiful & Beneficial.

Profilbild von Nizam
Nizamvor 1 Jahr

wow, awesome

Profilbild von Hypno
Hypnovor 1 Jahr

Liquid glass? Nah, we got solid glass

Profilbild von Utsav Ladani
Utsav Ladanivor 1 Jahr

Yeah, CSS is evolving in a great way. Many popular UI patterns can be achieved just using HTML and CSS.

Profilbild von Andrey
Andreyvor 1 Jahr

beatiful

Profilbild von freddie
freddievor 1 Jahr

without anchor-scope the amount of hacks needed to ensure adding two of the same radio group won’t lead to weird behaviours is annoyingly big but it’s coming!

Profilbild von Eric
Ericvor 1 Jahr

I used to code this for projects when AI doesn’t exist. I can share my old codes

Profilbild von Frédéric BERRIA
Frédéric BERRIAvor 1 Jahr

Sweet.

Profilbild von origami
origamivor 1 Jahr

def stealing. thnx for the snippet

Profilbild von mateja
matejavor 1 Jahr

it looks nice for post on twitter, but for actual purpose, having 2 buttons in some kind of similar state may be very confusing to potential users

Profilbild von Ziyad
Ziyadvor 1 Jahr

It's sad that many won't know because people will use any tool to avoid writing css, tailwind css-in-js you name it

Ähnliche Videos