Naming Things

It's easier for something to become a standard when it's given a name.

It's funny how the best technique to do something as important as "absolute centering" in CSS, a fundamental technique in web design, hasn't been given a name until today.

"Spoiler alert: Absolute Centering only requires a declared height and these styles:

.Absolute-Center {
  margin: auto;
  position: absolute;
  top: 0; left: 0; bottom: 0; right: 0;
}

I'm not the pioneer of this method (yet I have dared to name it Absolute Centering), and it may even be a common technique, however, most vertical centering articles never mention it and I had never seen it until I dug through the comments section of a particular article."

Read more here: http://codepen.io/shshaw/full/gEiDt

Follow me on twitter.