Skep’s Place.

skep.place

615,717 views
229 followers
7,256 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
7 likes
brachypelmide's avatar brachypelmide 10 months ago

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

4 likes
readingproject's avatar readingproject 10 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 10 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 10 months ago

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

1 like
brachypelmide's avatar brachypelmide 10 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 10 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
skep's avatar skep 10 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 days ago
CreatedJun 20, 2023

Tags

writing variety humor blog antics