tubeshowcaseโ—1,069,538 videosโ™ก My collection 0
โ† Learn to Code

Learn to Code04:45

My new favorite CSS trick: conditional border-radius

Kevin Powell โ†—

From the creator

๐Ÿ‘‰ Start writing CSS with confidence: https://thecascade.dev/courses/css-demystified/?utm_source=youtube&utm_medium=social&utm_campaign=regular-video Demo from the start of this video: https://codepen.io/editor/kevinpowell/pen/019fd889-9233-7d4c-83e2-38cdcfd90596 Open Props: https://open-props.style/ Ahmad Shadeed's post: https://ishadeed.com/article/conditional-border-radius/ After recently stumbling across Open Prop's conditional border-radius, which linked over to Ahmad Shadeed's post on them, I had to make a video too (even if his post was from 5 years ago!). I took a different approach with this one, would love to know what you think of it. โœ‰ Keep up to date with everything I'm up to https://www.kevinpowell.co/newsletter ๐Ÿ’ฌ Come hang out with other devs in my Discord Community https://discord.gg/nTYCvrK โญ Are you a beginner? HTML & CSS for absolute beginners is for you: https://learn.kevinpowell.co ๐ŸŽ“ Start writing CSS with confidence with CSS Demystified: https://cssdemystified.com ๐Ÿš€ Already mastered CSS? Check out my advanced course, Beyond CSS: https://www.beyondcss.dev/ --- Help support my channel ๐Ÿ‘จโ€๐ŸŽ“ Get a course: https://www.kevinpowell.co/courses ๐Ÿ‘• Buy a shirt: https://cottonbureau.com/people/kevin-powell ๐Ÿ’– Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: https://youtube.com/@KevinPowell/join --- ๐Ÿง‘โ€๐Ÿ’ป My editors: In most videos, Iโ€™m using CodePen these days: https://codepen.io/ - with High Contrast Dark theme and the font

Published 2026-08-19 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code