CSS-Tricks Tips, Tricks, and Techniques on using Cascading Style Sheets.

  • Demystifying Screen Readers: Accessible Forms & Best Practices
    by Chris DeMars on April 19, 2024 at 2:26 pm

    This is the 3rd post in a small series we did on form accessibility. If you missed the second post, check out “Managing User Focus with :focus-visible“. In this post we are going to look at using a … Demystifying Screen Readers: Accessible Forms & Best Practices originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

  • Managing User Focus with :focus-visible
    by Chris DeMars on April 5, 2024 at 10:13 pm

    This is going to be the 2nd post in a small series we are doing on form accessibility. If you missed the first post, check out Accessible Forms with Pseudo Classes. In this post we are going to look … Managing User Focus with :focus-visible originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

  • The Power of :has() in CSS
    by Chris DeMars on March 30, 2024 at 2:07 am

    Hey all you wonderful developers out there! In this post we are going to explore the use of :has() in your next web project. :has() is relatively newish but has gained popularity in the front end community by delivering control … The Power of :has() in CSS originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

  • Accessible Forms with Pseudo Classes
    by Chris DeMars on March 22, 2024 at 6:52 pm

    Hey all you wonderful developers out there! In this post, I am going to take you through creating a simple contact form using semantic HTML and an awesome CSS pseudo class known as :focus-within. The :focus-within class allows for … Accessible Forms with Pseudo Classes originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

  • Passkeys: What the Heck and Why?
    by Neal Fennimore on April 12, 2023 at 5:41 pm

    These things called passkeys sure are making the rounds these days. They were a main attraction at W3C TPAC 2022, gained support in Safari 16, are finding their way into macOS and iOS, and are slated to … Passkeys: What the Heck and Why? originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.

  • Some Cross-Browser DevTools Features You Might Not Know
    by Pankaj Parashar on March 22, 2023 at 8:22 pm

    I spend a lot of time in DevTools, and I’m sure you do too. Sometimes I even bounce between them, especially when I’m debugging cross-browser issues. DevTools is a lot like browsers themselves — not all of the features in … Some Cross-Browser DevTools Features You Might Not Know originally published on CSS-Tricks, which is part of the DigitalOcean family. You should get the newsletter.