Shortest and Most Effective CSS Reset

What is a CSS Reset?

We use CSS Reset to remove the default CSS values of the different browsers. If you don’t do this your work will be a little different when tested on different browsers.

Copy the code below. You may include it on your master CSS file.

*{
margin:0;
padding:0;
}

img, a img{
border:0 none;
}

img{
vertical-align:baseline;
}

a{
outline:0;
}

input:focus, textarea:focus, select:focus{
outline: none;
}

textarea {
resize: none;
}

It may look very simple but it solves a lot of issues.

*Some links may contain affiliate links. I may get small commission from your purchases to fund this website and to avoid annoying ads.