9:54:07My new favorite CSS trick: conditional border-radius
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.





