对大家有帮助的问答会被标记为“推荐”,看完课程过来浏览一下别人提的问题,会帮你学得更全面
<style>
.root{
width: 500px;
height: 500px;
}
.left{
float: left;
width: 250px;
height: 500px;
background-color: firebrick;
}
.right{
float: left;
width: 250px;
height: 500px;
background-color: cyan;
}
.top{
width: 250px;
height: 250px;
background-color: pink;
}
.bottom{
width: 250px;
height: 250px;
background-color: darkblue;
}
</style>
</head>
<body>
<div class="root">
<div class="left">
<div class="top"></div>
<div class="bottom"></div>
</div>
<div class="right"></div>
</div>
</body>
老师,left那个颜色为什么被覆盖了
老师我想问一下,购物车的鼠标滑动之后的边框不显示想问一下我写的CSS哪里出了问题。
<ul>
<li><a href="https://bjsxt.com">尚学堂合作</a></li>
<li><a href="https://itbaizhan.cn">百战程序员</a></li>
<li><a href="https://mi.com">小米</a</li>
<li><a href="https://jd.com">京东</a></li>
</ul>
什么情况下适合使用a href="#"?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<img src="phone·.jpg" alt="">
</body>
</html>
老师,为什么我的这个不显示图片
这三个属性不能同时使用吗,三个同时autofocus没有作用,是不是我哪里写错了