老师我想问下,按钮背景颜色有个白色的边框怎么去掉??然后顺便这样写行么?
来源:3-13 编程练习
贝熊熊晚安
2018-08-14 15:55:10
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title></title>
<style>
/*在此处补充代码*/
header{
width:1000px;
background:black;
display:flex;
justify-content:space-around;
align-content:space-around;
align-items:center;
}
.nav{
width:300px;
list-style-type:none;
display:flex;
color:white;
flex-wrap:wrap;
justify-content:space-between;
}
.login{
width:100px;
display:flex;
justify-content:space-between;
}
input{
background-color:orange;
color:white;
border-radius:20%;
}
</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回答
好帮手慕星星
2018-08-14
给input标签去掉边框就可以了,参考:

自己测试下,祝学习愉快~~
相似问题