Date: 2025-09-18 09:58 am (UTC)
le_gaosaure: A stylized rainbow, my user icon on AO3. (Default)
From: [personal profile] le_gaosaure
Hmm, I'm not sure "rem" would solve that specific problem... From what I understand (and apologies if I don't make sense, I'm slightly feverish aha ^^"""): pixels are pixels, so far so good. Em are a multiplier on the default size and "stack" based on the parent element; currently most web browsers display text at 16px if you don't give any size so this is the base default: 1em = 16px, but if you size elements inside other elements you will get the multiplicative effect. Rem are also a multiplier on the default size, and use the same size as reference so 1rem = 16px, but they don't "stack" because the R in rem is for "root" so it's always compared to the root element's default, not to the current element's default. So if something looks "normal sized" on computer and tiny on mobile with em, there's no obvious reason for rem to act differently. I'd be more suspicious of a size in pixels or % having sneaked in (and I can't remember how % work for size right now and I'm too tired to look it up aha ^^""").
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

smallweb: A drawing of a small spiderweb between branches (Default)
All Things Small Web

October 2025

S M T W T F S
    1234
56 78910 11
12131415161718
19202122232425
26 2728293031 

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Dec. 25th, 2025 07:19 am
Powered by Dreamwidth Studios