2 ms·
An example of a side note which should be smaller font-size and should be relatively narrow (on a maximized desktop screen): aside { font-size: 0.8em
by runarberg 6y ago
An example of a side note which should be smaller font-size and should be relatively narrow (on a maximized desktop screen):
aside {
font-size: 0.8em;
max-inline-size: 30ch;
}
This will fit approximately 30 characters at most on your aside and the font size will be 80% of the font size of the parent container (which is probably an `<article>` or a `<section>`).