How to Easily Center a <DIV> in CSS

Stop me if you’ve heard any of these before.

--

--

--

I am a web developer turned travel blogger that is forced to code to eat.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Evaluating XACML Policies using WSO2 Identity Server

Web Front-end GPU Processing

Is Fe the next smart contract language?

Resizing and rescaling in OpenCV

$3,000 Price for Delphi Powered Application in First Place

Fein dichroides Kupfer Multi-Anhänger Schmuck l-1.2in de…

[WINNER LIST] — WonderHero Founding Community Member NFT Badge Campaign

Wіndіng Uр Petitions: A соmрlеtе guide fоr соmраnу dіrесtоrѕ

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Kenton de Jong

Kenton de Jong

I am a web developer turned travel blogger that is forced to code to eat.

More from Medium

5 CSS Properties You Should Start Using Right Now

How to supercharge your HTML link tag with these four tricks

A failed experiment about CSS containment

A comparison of loading the same page without and with the new CSS property. It shows that the time spent by the browser to render the page goes from 232ms to 30ms

Customize Individual List Items with this CSS Trick

List style type CSS