You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
<main>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Numquam, consectetur? Tenetur facilis vitae doloribus minima.
</p>
</main>
(CSS)
html {
box-sizing: border-box;
}
*,
::before,
::after {
box-sizing: inherit;
}
main {
/*
Set a 65ch maximum inline size for readability.
We must apply this to the content box.
*/
box-sizing: content-box;
max-inline-size: 65ch;
margin-inline: auto;
padding-inline: 1.6rem;
}
...the issue we encounter is that the <p> (or whatever inside <main>) inherits the content-box declaration.
should we use:
better than
The text was updated successfully, but these errors were encountered: