line-height:normal;/* 1. (not following the "modern-normalize") Do not change the browser's default line-height, the default value is font-dependent and roughly 1.2 */
-webkit-text-size-adjust:100%;/* 2. Prevent adjustments of font size after orientation changes in iOS. */
}
/*
Sections
========
*/
body{
margin:0;/* Remove the margin in all browsers. */
}
/*
Grouping content
================
*/
/**
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
*/
hr{
height:0;/* 1 */
color:inherit;/* 2 */
}
/*
Text-level semantics
====================
*/
/**
Add the correct text decoration in Chrome, Edge, and Safari.
*/
abbr[title]{
text-decoration:underlinedotted;
}
/**
Add the correct font size in all browsers.
*/
small{
font-size:80%;
}
/**
Prevent 'sub' and 'sup' elements from affecting the line height in all browsers.
*/
sub,
sup{
font-size:75%;
line-height:0;
position:relative;
vertical-align:baseline;
}
sub{
bottom:-0.25em;
}
sup{
top:-0.5em;
}
/*
Tabular data
============
*/
/**
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
*/
table{
text-indent:0;/* 1 */
border-color:inherit;/* 2 */
}
/*
Forms
=====
*/
/**
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
*/
button,
input,
optgroup,
select,
textarea{
font-family:inherit;/* 1 */
font-size:100%;/* 1 */
line-height:1.15;/* 1 */
margin:0;/* 2 */
}
/**
Remove the inheritance of text transform in Edge and Firefox.
*/
button,
select{
text-transform:none;
}
/**
Correct the inability to style clickable types in iOS and Safari.