kevinpowell

kevinpowell

By
Download on the App Store

kevinpowell episodes

  • Make this fun effect that follows your cursor (pure CSS)

    ✅ Final code: https://codepen.io/kevinpowell/pen/vENZzBd

    ✅ More info on corner shape: https://frontendmasters.com/blog/understanding-css-corner-shape-and-the-power-of-the-superellipse/
    ✅ Odd Bird’s article on fixing issues with anchor positioning: https://www.oddbird.net/2025/01/29/anchor-position-validity/
    ✅ Easing Wizard: https://easingwizard.com/
    ✅ Anchor position polyfill: https://github.com/oddbird/css-anchor-positioning
    ✅ I’ve got courses! https://kevinpowell.co/courses

    ✉ 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/

    ⌚ Timestamps

    00:00 - Introduction
    00:37 - Basic setup
    02:18 - Adding the pseudo-element for the “bubble”
    03:30 - My first failed attempt at using anchor positioning
    08:12 - How you can animate the anchor position between elements
    10:20 - Be careful with position relative and anchor positioning
    13:40 - Using calc() with anchor()
    16:50 - Fixing the stacking of elements
    17:45 - Improving the animation and shapes
    20:16 - The cutout effect

    #css

    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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • A CSS Trick to select a specific row with Grid auto-fit/fill

    Looking to step up your CSS Game? Check out https://cssdemystified.com

    🔗 Links

    ✅ Code for last row only: https://codepen.io/kevinpowell/pen/ogjwxyv/19639a71b6ff26e1bf87738fa6db12d5
    ✅ Code for first two rows only: https://codepen.io/kevinpowell/pen/vENZGvG/14a4bdacb2fa79bbdd9cd1e400b57097
    ✅ Code for 2nd row only: https://codepen.io/kevinpowell/pen/YPyQqMq/990300b888e8aec0d77d520d5948ddb5
    ✅ Keith’s article: https://keithclark.co.uk/articles/targeting-first-and-last-rows-in-css-grid-layouts/
    ✅ Temani’s version with no container queries: https://codepen.io/t_afif/pen/QwbZKPB?editors=1100

    ✉ 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/

    ⌚ Timestamps

    00:00 - Introduction
    00:45 - Requirements for this to work
    01:45 - Setting up the first container query
    03:00 - Getting the first two rows
    05:10 - Getting only the second row
    07:00 - Selecting the last row
    13:44 - Using new CSS features so we don’t need container queries

    #css

    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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • CSS Debugging Tips

    👉 https://devtoolsforbeginners.kevinpowell.co/

    ✅ https://polypane.app/?ref=kevin (this is an affiliate link, so if you do purchase after visiting through this link, it would also help support my channel)

    ✉ 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/

    ⌚ Timestamps

    00:00 - Introduction
    00:29 - Finding styles that are overriding other styles
    02:50 - turning on pseudo-classes like :hover and :focus
    05:00 - Finding mystery overflows
    09:25 - Changing values with up/down keys
    11:14 - FREE COURSE: Getting started with dev tools
    11:50 - Getting dev tool changes into your CSS

    #css

    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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • Spice Up Your Site with Quick & Easy Theme Transitions

    🔗 Links

    ✅ https://kevinpowell.co/courses
    ✅ More in-depth video on single page view transitions: https://youtu.be/jZiZs8cZAKU
    ✅ Learn about cross-document view transitions: https://youtu.be/quvE1uu1f_I
    ✅ The final code from this video: https://codepen.io/kevinpowell/pen/xbGeNQy/ef22ccea0c2d257ae1a748f5fd4646da
    ✅ The wave example: https://www.kryogenix.org/code/browser/theme-transition.html
    ✅ The “throw away” example: https://events-3bg.pages.dev/jotter/same-doc/#theme-switcher
    ✅ The rotating cube example: https://codepen.io/ragnar_ock/pen/QwbYbOQ
    ✅ Browser support for view transitions: https://caniuse.com/cross-document-view-transitions
    ✅ Easing Wizard: https://easingwizard.com/

    ✉ 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/

    ⌚ Timestamps

    00:00 - Introduction
    01:18 - The basic setup
    02:20 - Adding the view transition
    03:50 - Basics of modifying the view transition with CSS
    05:25 - Sliding the new theme in
    07:50 - Bouncing in the new theme
    09:36 - The circle effect

    #css

    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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • Style selected text using ::selection

    Easily style how selected text looks using the ::selection pseudo-element

    #css

    ✉ 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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • Easier Site-Wide Theming with Style Queries

    ✅ Part one of this series: https://youtu.be/WP5CC5yawfs

    ✅ Style Query support table: https://caniuse.com/css-container-queries-style

    ⌚ Timestamps

    00:00 - Introduction
    00:50 - The basic set up
    02:34 - Setting up the style query

    #css

    ✉ 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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min
  • Take control of your list styling with ::marker

    Customize the bullets or numbers of your lists with the ::marker pseudo-element.

    #css

    ✉ 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 editor: VS Code - https://code.visualstudio.com/

    🌈 My theme: One Dark Pro Var Night

    🔤 My font: Cascadia Code

    I'm on some other places on the internet too!

    If you'd like a behind the scenes and previews of what's coming up on my YouTube channel:

    Bluesky: https://bsky.app/profile/kevinpowell.co

    Codepen: https://codepen.io/kevinpowell/
    Github: https://github.com/kevin-powell

    And whatever you do, don't forget to keep on making your corner of the internet just a little bit more awesome!

    0 min