两个按钮的灰色背景
来源:3-13 编程练习
光aaaaand影
2019-06-04 18:48:21
请问老师,如何去掉两个按钮的灰色背景

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/*在此处补充代码*/
header{
display:flex;
justify-content:space-around;
align-items:center;
background:#000;
}
ul{
display:flex;
justify-content:space-between;
list-style:none;
width:300px;
color:#fff;
}
.login{
width:100px;
display:flex;
justify-content:space-between;
}
.login input{
color:#fff;
background:orange;
border-radius:5px;
}
</style>
</head>
<body>
<header>
<div class="logo">
<img src="http://climg.mukewang.com/59feb59700019dab01910057.png" alt="">
</div>
<ul class="nav">
<li>课程</li>
<li>路径</li>
<li>猿问</li>
<li>手记</li>
</ul>
<div class="login">
<input type="button" value="登录">
<input type="button" value="注册">
</div>
</header>
</body>
</html>1回答
你好同学,这里的按钮并没有灰色背景,它有一个默认的边框,把边框去掉即可,如下

祝学习愉快 ,望采纳。
相似问题