css水平垂直居中(不定高)的三种方法

<style> .parent{ height:200px; width:200px; border:1px solid #000; } .son{ width:100px; background: red; } </style> <div class="parent one"> <div class="son">one垂直居中垂直
相关文章
相关标签/搜索