web前端学习笔记

1、子div居中

如果让子div水平居中,且子div定宽,可以使用:

margin: 0 auto;
原文地址:https://www.cnblogs.com/GIScore/p/8926134.html