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

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

На главную

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

160,432 просмотров • 11 месяцев назад •via X (Twitter)

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

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ11 месяцев назад

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 (っ♡◡♡)っ🤖🥭11 месяцев назад

Now do Apple corner radius 👀

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ11 месяцев назад

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

Фото профиля Dan DiGangi
Dan DiGangi11 месяцев назад

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

Фото профиля Rody Davis
Rody Davis11 месяцев назад

You could even do nested CSS here!

Фото профиля jhey ʕ•ᴥ•ʔ
jhey ʕ•ᴥ•ʔ11 месяцев назад

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

Фото профиля Silvermoon
Silvermoon11 месяцев назад

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
Soren11 месяцев назад

@Apple needs this

Фото профиля Yevhen
Yevhen11 месяцев назад

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

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