2.3.6 #permalink Center Both
Applies absolute positioning and css3 transform to position a div in the middle of its parent. Useful in overlaying text over an image. Note that the parent must be relative positioned.
Example
Markup
<div class="grid-3 img-overlay layout_rel">
<div class="grid-0 grid-md-12 sprite sprite_gift layout_centerBoth text_fontSizeZero zindex_overlayTop">gift</div>
<img src="/img/banners/photoBlock6.jpg" class="img-cover"/>
</div>
Source:
layout/layout.less
, line 207