``` marginTop: 50% //相对于父元素width的50% ``` 代码:[http://js.jirengu.com/zehesodowi/2/edit](http://js.jirengu.com/zehesodowi/2/edit) 