body line height

master
andy 2021-11-26 11:08:19 +01:00
parent 954d435b68
commit b350e7dee2
2 changed files with 1 additions and 46 deletions

View File

@ -13,6 +13,7 @@ html {
body { body {
height: 100%; height: 100%;
scroll-behavior: smooth; scroll-behavior: smooth;
line-height: calc(1em + 0.5rem);
} }
img, img,

View File

@ -1,46 +0,0 @@
*,
*::before,
*::after {
box-sizing: border-box;
}
* {
margin: 0;
}
html,
body {
height: 100%;
scroll-behavior: smooth;
}
body {
line-height: calc(1em + 0.5rem);
-webkit-font-smoothing: antialiased;
}
img,
picture,
video,
canvas,
svg {
display: block;
max-width: 100%;
}
input,
button,
textarea,
select {
font: inherit;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
overflow-wrap: break-word;
}