2 bookmarks for 2024-03-02

Reposted 1170.

Center a Div

www.joshwcomeau.com/css/center-a-div

Back in the day, centering an element was one of the trickiest things in CSS. As the language has evolved, we’ve been given lots of new tools we can use… But how do we pick the best option? When do we use Flexbox, or CSS Grid, or something else? Let's dig into it.

1167.

Universal domain types

mmapped.blog/posts/25-domain-types.html

A guide to domain-specific types that make sense.