Code Snippets

Tips filed under Code Snippets.

Center a div with 3 lines of CSS

Use flexbox for perfect centering without the hassle.

Read tip