多项选择题
垂直居中的方法?()
A.将显示方式设置为表格,display:table-cell,同时设置vertial-align:middle
B.使用flex布局,设置为align-item:center
C.绝对定位中设置bottom:0,top:0,并设置margin:auto
D.绝对定位中固定高度时设置top:50%,margin-top值为高度一半的负值
点击查看答案
相关考题
