<!
DOCTYPE
html>
<
html
>
<
head
>
<
meta
charset
=
utf
-8 />
<
title
>JS Bin</
title
>
</
head
>
<
body
>
<
div
class
=
"ot"
>
<
div
class
=
"wrapper"
></
div
>
</
div
>
</
body
>
</
html
>
.box{
height
:
200px
;
width
:
300px
;
background
:pink;
margin
:
30px
auto
;
font-size
:
0
;
}
.box:before{
content
:
''
;
display
: inline-
block
;
vertical-align
:
middle
;
width
:
0
;
height
:
100%
;
}
.text{
display
: inline-
block
;
font-size
:
16px
;
vertical-align
:
middle
;
}