Re: [csswg-drafts] [css-forms-1] Rework default styles for slider-like controls (#12267)

We could easily design something simple, elegant, very easy to use, generic enough to blend into any website. To do so, we'll probably use `border-radius` and `box-shadow` and lot of other CSS.

Conversely, another design principle is:
> The styles are easily adapted to the website’s branding, without needing complex reset stylesheets:
> - They use minimal code and are easy to override.
> - They do not have a strong voice & tone of their own, and are visually as simple as possible.

This principle does make folks believe we should not use rounded corners and drop shadows, that it's better to leave things unstyled — even if they look raw.

I'm hoping we can thread the needle, but this does raise a question:

If we do use some CSS to give the default some good & useful styling, but that requires developers to override it to apply their own styles (removing a drop shadow for instance), is that putting too much of a burden on the developer???

-- 
GitHub Notification of comment by jensimmons
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12267#issuecomment-2941339014 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 4 June 2025 20:14:57 UTC