正在加载视频...
视频加载失败
it's that time again — the Q2 '25 CSS nested radius post .parent { --nested-radius: calc(var(--radius) - var(--padding)); } .nested { border-radius: var(--nested-radius); } * realistically these will be static values
9 条评论

jhey ʕ•ᴥ•ʔ1 年前
been a while since this one has done the rounds — feels like it was almost a meme for a minute 😅 this was a 2023 edition

Steven (っ♡◡♡)っ🤖🥭1 年前
Now do Apple corner radius 👀

jhey ʕ•ᴥ•ʔ1 年前
there is in fact an API in the works to do exactly that 🙌

Dan DiGangi1 年前
customers: we want better ai apple: heres ui with corners that match the iphone

Rody Davis1 年前
You could even do nested CSS here!

jhey ʕ•ᴥ•ʔ1 年前
ha - yes, good spot! missed a trick copying my old caption 🤦😅

Silvermoon1 年前
nice, well done can you check if you get an updated version, where optical corrections are included? so far you build the circle via math, by changing the radius. when you could adjust the handles that create the radius, that would open up a tremedous new organic options.

Soren1 年前
@Apple needs this

Yevhen1 年前
Show it to Samsung programmers 🙏🏻 they have obvious trouble with it
