论坛
标题:
添加的背景图片不能居中
[打印本页]
作者:
qq480
时间:
2019-8-12 14:58
标题:
添加的背景图片不能居中
视频6:11的那里,老师添加了一个图片,然后让他不重复,居中。可是我同样的代码,结果图片消失了,这是为什么?
.pro .title h2 {
font-size: 30px;
color: #333333;
font-weight: 400;
background-image:url(../images/titleLing.png) no-repeat center;}[attach]150527[/attach]
欢迎光临 论坛 (http://bbs.qinxue.com/)
Powered by Discuz! X3.1