Put a Background on Open Details Elements

One thing that can be just a smidge funky about the element is that, when open, it’s not always 100% clear what is inside that element and what isn’t. I’m not saying that always matters or that it’s a …

The post Put a Background on Open Details Elements appeared first on CSS-Tricks. You can support CSS-Tricks by being an MVP Supporter.

https://css-tricks.com/put-a-background-on-open-details-elements/

Établi 3y | 11 juin 2021 à 00:20:47


Connectez-vous pour ajouter un commentaire

Autres messages de ce groupe

Managing User Focus with :focus-visible

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

5 avr. 2024 à 23:30:03 | CSS tricks
The Power of :has() in CSS

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 pop

30 mars 2024 à 03:50:05 | CSS tricks
Accessible Forms with Pseudo Classes

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-wit

22 mars 2024 à 21:20:05 | CSS tricks
Passkeys: What the Heck and Why?

These things called passkeys sure are making the rounds these days. They were a main attraction at 

12 avr. 2023 à 18:20:39 | CSS tricks
Some Cross-Browser DevTools Features You Might Not Know

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 — no

22 mars 2023 à 21:20:53 | CSS tricks
Making Calendars With Accessibility and Internationalization in Mind

Doing a quick search here on CSS-Tricks shows just how many different ways there are to approach calendars. Some show how CSS Grid

13 mars 2023 à 14:20:36 | CSS tricks
5 Mistakes I Made When Starting My First React Project

You know what it’s like to pick up a new language or framework. Sometimes there’s great documentation to help you find your way through it. But even the best documentation doesn’t cover absol

10 mars 2023 à 17:20:59 | CSS tricks