201610 - 成功志,成功日志,网页网站技术,ASP,PHP,JS,CSS

日志归档

2016年10月发布的文章

CSS

七种css方式让一个容器水平垂直居中

阅读(9638)评论(1)

方法一:position加margin  方法二: diaplay:table-cell  方法三:position加 transform  方法四:flex;align-items: center;justify-content: center  方法五:display:flex;margin:auto...

Powered by emlog © Emlog大前端 theme By 草窝 粤ICP备18103393号

粤公网安备 44190002006955号

sitemap