🔥 There are 433 Hot Tips!!

Hot tips are spicy lil' nuggets related to web development and tooling that I share on my twitter account. I've logged them here to make them easier to find.

I'm sick of the CSS centering jokes.

You can now vertically center the contents of a block level element without Grid of Flexbox!

74533
1.7K16059683115K

Are you using position: absolute; to overlap elements?

It's almost always better to Use CSS Grid instead!

2.5K3064K
1.8K1165829K
1.1K43
3.9K366773.2K293K

The new Stripe dev site uses a single grid layout of 24 columns and then uses subgrid nested 5-6 levels deep for all its layout.

This is the first time I've seen this used in production - really neat technique!

2.5K1927857K
1.6K96391.1K116K
41312

Do you like magic links?

I think Raycast has nailed the UX here to make everyone happy.

7723222399104K
1506

Cursor really is better than copilot + VS Code.

An example where its extremely helpful:

7176147508259
44328

I dug into the ChatGPT Remix codebase and found a few clues as to why they moved from Next.js to Remix. Some surprising things here!

7.4K429186215K
7224731522258K
56028

Man I love this cool effect with CSS Conic gradients!

1.2K24
2.6K224342K162K

HANDS!

I spent my week learning how thermal receipt printers work, and controlling one with JavaScript.

Hooked it up to the @getsentry webhook API and now I get print outs of my issues as they happen

2.6K13377809203K
1.1K42
6.4K51592167K

🔥 CSS Tip!

Have you ever wanted the benefits of a block element but the sizing of an inline element?

width: max-content; comes in super handy here 👌

1K212422K
39411
312341215423K

You know I had to connect the JavaScript receipt Printer up to my webcam.

1.3K1032838382K