tubeshowcaseโ—โ™ก My collection 0
โ† Learn to Code

Learn to Code13:11

Don't use spans or code for shortcuts and keystrokes

Kevin Powell โ†—

From the creator

Check out the HTML & CSS Tip of the Week: https://html-css-tip-of-the-week.netlify.app/ ๐Ÿ”— Links โœ… The code from this video: https://codepen.io/kevinpowell/pen/qEBWJYN โœ… Relative colors: https://youtu.be/gPacarD9NuA โœ… MDN on kdb (includes samp examples too): https://developer.mozilla.org/en-US/docs/Web/HTML/Element/kbd โœ… :has() support table: https://caniuse.com/css-has โœ… HTML & CSS tip of the week: https://html-css-tip-of-the-week.netlify.app/ ๐ŸŽ“ https://kevinpowell.co/courses โŒš Timestamps 00:00 - Introduction 01:15 - the kbd element 03:00 - nested kbd elements 05:05 - html and css tip of the week 06:30 - the samp element 08:00 - using samp and kbd together 10:30 - styling them up depending on how they are nested 10:45 - kbd inside of samp #css -- Come hang out with other dev's in my Discord Community ๐Ÿ’ฌ https://discord.gg/nTYCvrK Keep up to date with everything I'm up to โœ‰ https://www.kevinpowell.co/newsletter Come hang out with me live every Monday on Twitch! ๐Ÿ“บ https://www.twitch.tv/kevinpowellcss --- Help support my channel ๐Ÿ‘จโ€๐ŸŽ“ Get a course: https://www.kevinpowell.co/courses ๐Ÿ‘• Buy a shirt: https://teespring.com/stores/making-the-internet-awesome ๐Ÿ“ฝ๏ธ Join as a channel member: https://youtube.com/@KevinPowell/join ๐Ÿ’– Support me on Patreon: https://www.patreon.com/kevinpowell or through YT memberships: Join this channel to get access to perks: https://www.youtube.com/channel/UCJZv4d5rbIKd4QHMPkcABCw/join --- My editor: VS Code - https://code.visualstudio.com/ --- I

Published 2025-02-12 ยท Watch on YouTube โ†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code