再次水平垂直居中

by redky

HTML

<div class="box">hello
    <br />
    <img src="https://www.google.com.hk/images/srpr/logo11w.png" alt="">
</div>
<div class="help"></div>

CSS

div.box {
    position: fixed;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
}
.help {
    height: 3000px;
}