How to write Semantic CSS
#############################
Video Source: www.youtube.com/watch?v=lWu5zf_S9R4
Most people know about semantic HTML, but when it comes to CSS, things are a little more wishy-washy most of the time. Rather than relying on arbitrary class names, we can use different semantic selectors though! • π Links • β Ben Myers article on Semantic CSS: https://benmyers.dev/blog/semantic-se... • β Using CSS to Enforce Accessibiliity by Adrian Roselli: https://adrianroselli.com/2021/06/usi... • β User Facing State by Scott O’Hara: https://css-tricks.com/user-facing-st... • β Semantic CSS with Intelligent Selectors by Heydon Pickering: https://www.smashingmagazine.com/2013... • β Teaching my 11-year-old HTML CSS: • Teaching my 11-year-old HTML CSS • β Timestamps • 00:00 - Introduction • 00:16 - The problem with class names • 01:36 - How we can write semantic CSS with a navigation • 05:42 - Hamburger menu tab examples • 07:00 - How to find the appropriate aria and role attributes • #css • -- • Come hang out with other dev's in my Discord Community • π¬ / discord • 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! • πΊ / kevinpowellcss • --- • Help support my channel • π¨π Get a course: https://www.kevinpowell.co/courses • π Buy a shirt: https://teespring.com/stores/making-t... • π Support me on Patreon: / kevinpowell • --- • 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. • Twitter: / kevinjpowell • 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!
#############################