This is a very lean CSS reset I use for my projects; feel free to use it too.
html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }
body { margin: 0px; }
img { border: none; }
article,
aside,
dialog,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section { display: block; }
table {
border-collapse: collapse;
border-spacing: 0;
}
body,
form { margin: 0; }
button,
input[type="submit"],
input[type="image"],
input[type="text"],
input[type="password"],
textarea {
-webkit-appearance: none;
border-radius: 0px;
}
button,
input[type="submit"],
label { cursor: pointer; }
button,
input[type="submit"],
input[type="image"] { border: none; }
sup {
font-size: 0.83em;
vertical-align: super;
line-height: 0;
}
a { cursor: pointer; }
Tim Bennett is a freelance web designer from Leeds. He has a First Class Honours degree in Computing from
Leeds Metropolitan University and currently runs his own one-man web design company, Texelate.