In this example, we use positioning and the transform property to vertically and horizontally center the div element:
I am vertically and horizontally centered.
هشدار: این قابلیت در مرورگر internet explorer 8 و نسخه های قبل تر آن کار نمی کند.