Should CSS Override Default Browser Styles?

CSS overrides can change the default look of almost anything:

You can use CSS to override what a checkbox or radio button looks like, but if you don’t, the checkbox will look like a default checkbox on your operating system

Should CSS Override Default Browser Styles? originally published on CSS-Tricks

https://css-tricks.com/should-css-override-default-styles/

Created 3y | Jan 4, 2022, 8:21:37 PM


Login to add comment

Other posts in this group

Using & Styling the Details Element

Now that we're 5+ years into

, we know more about it than ever before. I thought I'd round that information up so it's in one place I can reference in the future without having to sea
Feb 26, 2025, 5:50:05 PM | CSS tricks
Applying the Web Dev Mindset to Dealing With Life Challenges

The grain of truth was that even if you love your job, it can’t love you back. Yet what I’m hooked on isn’t one job, but the power of code and language.


Feb 24, 2025, 2:50:05 PM | CSS tricks
Toe Dipping Into View Transitions

The View Transitions API is more a set of features than it is about any one particular thing. And it gets complex fast. But in this post, we’ll cover a couple ways to dip your toes into the waters

Feb 21, 2025, 2:50:22 PM | CSS tricks
Working With Multiple CSS Anchors and Popovers Inside the WordPress Loop

I know, super niche, but it could be any loop, really. The challenge is having multiple tooltips on the same page that make use of the Popover API for toggling goodness and CSS Anchor Positioning f

Feb 19, 2025, 2:10:26 PM | CSS tricks
The What If Machine: Bringing the “Iffy” Future of CSS into the Present

My thesis for today's article offers further reassurance that inline conditionals are probably not the harbinger of the end of civilization: I reckon we can achieve the same functionality right now

Feb 17, 2025, 3:40:33 PM | CSS tricks
Handwriting an SVG Heart, With Our Hearts

A while back on CSS-Tricks, we shared several ways to draw hearts, and the response was dreamy. Now, to show my love, I wanted to do something personal, something crafty, something with a mild amou

Feb 14, 2025, 1:40:05 PM | CSS tricks
Scroll Driven Animations Notebook

Adam’s such a mad scientist with CSS. He’s been putting together a series of “notebooks” that make it easy

Feb 13, 2025, 2:30:05 PM | CSS tricks