原创 浮層水平垂直居中方法

(一)利用絕對定位與transform          <div class="parent">       <div class="children"></div>     </div>   將父元素定位,子元素如下