Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
runarberg
on March 31, 2021
|
parent
|
context
|
favorite
| on:
Let’s fix font size
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>`).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: