tubeshowcase●1,672,867 videosβ™‘ My collection 0
← Learn to Code

Learn to Code10:03

Most people have no idea you can style underlines like this

Kevin Powell β†—

From the creator

πŸ“¨ Sign up for my weekly newsletter - https://kevinpowell.co/newsletter?utm_campaign=general&utm_source=youtube&utm_medium=underlines Ever wanted control of the underlines on your links (or other text?) in CSS, and used either a border or pseudo-element so you could control the distance, color, or thickness? Well, we can do all of that to the underline itself! πŸ”— Links βœ… My newsletter: https://kevinpowell.co/newsletter?utm_campaign=general&utm_source=youtube&utm_medium=underlines βœ… Browser support table for the offset: https://caniuse.com/mdn-css_properties_text-underline-offset βœ… Browser suppor table for the thickness (which is very similar to the others): https://caniuse.com/mdn-css_properties_text-decoration-thickness βœ… More info on the MDN: https://developer.mozilla.org/en-US/docs/Web/CSS/text-decoration ⌚ Timestamps 00:00 - Introduction 00:38 - thickness 01:20 - color 02:10 - style 02:50 - skip-ink 04:00 - underline, overline, line-through 04:55 - the shorthand 06:20 - my newsletter 07:00 - offset 09:00 - browser support #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 πŸ’– Support me on Patreon: https://

Published 2024-01-18 Β· Watch on YouTube β†—
Availability and playback restrictions are controlled by the original channel.

Keep exploring Learn to Code