position: relative;
position: absolute;
top: calc(50% - @height/2); top: calc(50% - @width/2);
Advantages:
minimal code
Caveats:
dimentions must be declared
ie9+
not responsive: doesn't work with %, min-max
must use border-box for paddings or compensate them