Don't use spans or code for shortcuts and keystrokes
××Ø× ×”×Ø××× ××
××Ŗ××ר ××× ××ר×
×Ŗ×××ר
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/El...
ā
: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-awe...
š½ļø 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/UCJZv4d5rbIKd4QHMPkc...
---
My editor: VS Code - https://code.visualstudio.com/
---
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, make sure to follow me on Instagram and Twitter.
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!