The advantage of rems/ems is scaling if the default font size is changed. Here is what @css (using px values) and @CoderPad (using rem values) look like at the default font size setting in Chrome twitter.com/0xADADA/status/15037…
@css I would love anchor links to different sections fo the newsletter.
Pulled the trigger and bought a membership for @css since I seem to have their guides open every other day. At $20 per year it’s a no brainer.
TIL: you can shorten CSS gradients & remove redundant values by using a little “fixup trick”.
I’m looking for a new gig immediately in devrel or webperf engineering. A bit about me:
Interested? DMs open! jeremy.codes
Using preconnect and dns-prefetch is redundant. preconnect will do the DNS lookup + connection stuff
But IE doesn’t support preconnect so dns-prefetch is a fallback there.