NaniSore
NaniSore

Reputation: 74

Text on page has no size and just colapses into itself

I have no idea what might be causing it. Of note is that I'm using normalize and this is how my base css file looks like:

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 6.25%; // 1rem = 1px
}

body {
    box-sizing: border-box;
}

Example 1 Example 2

Upvotes: 0

Views: 42

Answers (1)

Leonid Volkov
Leonid Volkov

Reputation: 154

You need use property line-height

Upvotes: 1

Related Questions