1. FlexBox This is one of my favorites method of centering things in CSS. div { display: flex; justify-content: center; align-items: center; } 2. Margin Not the one that I use often but comes in handy in some situations. div { margin: ...
revengemiroz.hashnode.dev1 min read
No responses yet.