Skep’s Place

skep.place

275,592 views
132 followers
5,810 updates
0 tips
Should have been using rem instead of em for my font sizes and now I'm too afraid to try fixing it
8 likes
brachypelmide's avatar brachypelmide 1 day ago

ha! rookie mistake B) <-- also uses em on literally everything

4 likes
nohappynonsense's avatar nohappynonsense 1 day ago

haha what an idiot <-- uses rem and em indiscriminately and prob has px in there once or twice even

5 likes
readingproject's avatar readingproject 1 day ago

Biggest idiot of all. Why don't I know these things? I can see me messing around with a lot of css in the future. Thanks Skep. You are a genius

3 likes
emilynhoward's avatar emilynhoward 23 hours ago

Oh god, I can nev keep those things straight. I think I have already been using rem, but I will check as I hypothetically redesign my website.

3 likes
harakanvarpu's avatar harakanvarpu 17 hours ago

I uh. I think I use pixels... What is rem? Like, the sleep?

1 like
brachypelmide's avatar brachypelmide 16 hours ago

yeah, like the sleep (em is a font's native size, relative to the parent element; rem is a font's native size, relative to the document)

skep's avatar skep 14 hours ago

To simplify (and generalize) a bit, rems and ems are relative units; they're good when you want a measurement to be flexible based on a font size.

nohappynonsense's avatar nohappynonsense 13 hours ago

real talk i use vh or vw for everything i can't remember which

skep's avatar skep 11 hours ago

I started using those recently, they are very cool but it is a little cursed to set font size as a percentage of the browser width

Website Stats

Last updated 1 week ago
CreatedJun 20, 2023
Site Traffic Stats

Tags

writing variety humor gaming blog