New CSS corner-shape Property Is Amazing
1:17

New CSS corner-shape Property Is Amazing

Web Dev Simplified 30.04.2026 80 598 просмотров 2 235 лайков

Machine-readable: Markdown · JSON API · Site index

Поделиться Telegram VK Бот
Транскрипт Скачать .md
Анализ с AI
Описание видео
🌎 Find Me Here: My Blog: https://blog.webdevsimplified.com/ My Courses: https://courses.webdevsimplified.com/ Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified #Shorts

Оглавление (1 сегментов)

Segment 1 (00:00 - 01:00)

The brand new corner shape property in CSS is amazing. By default, it's round, which just gives you a normal rounded border radius corner, but you can do so much with this. For example, scoop gives you an inverse border radius. You can use notch to essentially give you a fully squared off border radius cutting inward. You can use square to essentially remove your border radius. You can also use squirle. This gives you a kind of extra rounded, not quite as super round version as you would get before. And you can even use bevel to give you straight lines for your border radius. And the really great thing is you can actually customize this even further by using the super ellipse function and passing in the value you want for what you want your shape to look like. So if we pass in a value of one, that gives you a normal border radius. While a value of negative 1, that's going to give you that scooped version. And if you go greater than negative 1, you can see it starts to scoop in further and further until you almost get to that full on notch behavior. And as you increase this number more and more, you start to again get less and less rounded until you eventually get to a practically square border shape. And zero gives you that perfect 45° angle. And this can be animated between and customized however you want to give you the exact border shape you need instead of just a perfectly round corner. If you want to see some of the amazing stuff you can do with this property, I'll link a full video at the bottom of your screen for you that covers this property in depth and gives lots of really cool examples.

Другие видео автора — Web Dev Simplified

Ctrl+V

Экстракт Знаний в Telegram

Экстракты и дистилляты из лучших YouTube-каналов — сразу после публикации.

Подписаться

Дайджест Экстрактов

Лучшие методички за неделю — каждый понедельник