文章详情页
为什么背景图无法正常显示
浏览:261日期:2024-05-21 11:37:35
问题描述
css代码:
.header{
width: 1226px;
height: 100px;
margin: 0px auto;
line-height: 90px;
padding-left: 40px;
}
.content{
width: 100%;
height: 580px;
background: url(../img/login.png);
}
html代码:
<div class="content">
<div class="login_content">
<div class="login_form">
</div>
</div>
</div>
问题解答
回答1:
上一条:关于演示代码的问题下一条:href src url 三者区别
相关文章:
1. dockerfile - 为什么docker容器启动不了?2. web服务器 - ubuntu下布置apache加wsgi加python3. css3 - 背景图自定义比例缩小4. css - 图片的宽度发生变化而高度却没有相应变?5. python for循环中的函数只能运行一次?6. tp6 事务闭包操作问题7. 主从复制 - MySQL 主从延迟 300s 以上,求大神解答8. docker 17.03 怎么配置 registry mirror ?9. javascript - sublime快键键问题10. javascript - 微信小程序 如何实现这种左滑动出现删除的办法?有相关api吗?
排行榜

网公网安备