News for hackers. Stuff that matters.
Re:Let’s fix font size by runarberg on Wednesday March 31, 2021 @01:30AM (#26643835)
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>`).

There are no comments on this comment yet.