怎么将图片跟内容实现居中
最后大概实现成这个样子
*****{margin: 0 auto;}
居中代码,先找到要居中的容器(例如 :容器ID为demo)然后可以利用以下方式进行水平居中:
#demo{ width:90%; margin:0 auto; }