兼容IE的徹底居中佈局

代碼詳見: https://github.com/screamingColor/save/blob/master/test/center.htmljavascript IE8下的效果:php 本文采用絕對定位和flexbox兩種方式: 第一種絕對定位方式: 先定位到父元素50%的地方再移動自身的50%css .outb{ position: relative; height: 200px; wid
相關文章
相關標籤/搜索