reseter.css
Version:
Reset Browser Default Styles, Without the need to work with a blank slate. Improve Cross Browser Compatibility. Get All Benefits From Normalize.css As Well
94 lines (76 loc) • 1.16 kB
text/less
button,
input,
optgroup,
select,
textarea {
line-height: inherit;
border: 1px solid currentColor;
}
button {
overflow: visible;
text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
-webkit-appearance: button;
padding: 1px 6px;
}
input {
overflow: visible;
}
input,
textarea {
padding: 1px;
}
fieldset {
border: 1px solid currentColor;
margin: 0 2px;
}
legend {
color: inherit;
display: table;
max-width: 100%;
white-space: normal;
}
progress {
display: inline-block;
vertical-align: baseline;
}
select {
text-transform: none;
}
textarea {
overflow: auto;
vertical-align: top;
}
[type="search"] {
-webkit-appearance: textfield;
outline-offset: -2px;
}
[type="color"] {
background: inherit;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
height: auto;
}
::-webkit-input-placeholder {
color: inherit;
opacity: 0.5;
}
::-webkit-search-decoration,
::-webkit-file-upload-button {
-webkit-appearance: button;
font: inherit;
}
::-moz-focus-inner {
border: 0;
}
:-moz-focusring {
outline: 1px dotted ButtonText;
}
:-moz-ui-invalid {
box-shadow: none;
}