Загрузка видео...

Не удалось загрузить видео

На главную

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

161,396 просмотров • 1 год назад •via X (Twitter)

Комментарии: 9

Фото профиля jhey ʕ•ᴥ•ʔ
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 (っ♡◡♡)っ🤖🥭
Steven (っ♡◡♡)っ🤖🥭1 год назад

Now do Apple corner radius 👀

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ1 год назад

there is in fact an API in the works to do exactly that 🙌

Фото профиля Dan DiGangi
Dan DiGangi1 год назад

customers: we want better ai apple: heres ui with corners that match the iphone

Фото профиля Rody Davis
Rody Davis1 год назад

You could even do nested CSS here!

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ1 год назад

ha - yes, good spot! missed a trick copying my old caption 🤦😅

Фото профиля Silvermoon
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.

Фото профиля Soren
Soren1 год назад

@Apple needs this

Фото профиля Yevhen
Yevhen1 год назад

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

Похожие видео