摘要: 第一种 适用于固定宽高,设置top和left为50%;然后设置margin left和margin top为width和height的一半即可 width: 100px; height: 100px; position: absolute; top: 50%; left: 50%; margin t 阅读全文
posted @ 2016-03-10 16:23 Colin_W 阅读(92) 评论(0) 推荐(0)