Skep’s Place

skep.place

324,382 views
151 followers
5,918 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 2 months ago

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

5 likes
nohappynonsense's avatar nohappynonsense 2 months ago

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

6 likes
readingproject's avatar readingproject 2 months 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

4 likes
emilynhoward's avatar emilynhoward 2 months 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 2 months ago

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

1 like
brachypelmide's avatar brachypelmide 2 months 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 2 months 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.

1 like
nohappynonsense's avatar nohappynonsense 2 months ago

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

skep's avatar skep 2 months 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 2 weeks ago
CreatedJun 20, 2023
Site Traffic Stats

Tags

writing variety humor gaming blog