Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

how to round ALL borders with CSS

instead of putting "border-radius: 10px;" for every single element, is there a way to make all borders rounded?

I’m new to programming so I’m not sure what to try. I’m also using this for something kind of stupid so I don’t really wanna put in a ton of effort to learn the language and figure it out lol

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

It’s as simple as

*{
border-radius: 10px;
}

The * selector is used to select all elements and apply styling on them. You can read more about it here and about selectors here.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading