【发布时间】:2022-12-17 23:55:05
【问题描述】:
我正在尝试复制一个网站,它有一个导航栏,侧面有按钮,这些按钮的边只有边框半径我试着给边框半径,但我的按钮变成了水平椭圆形
<html>
<head>
<title></title>
<style>
*{
margin: 0;
padding: 0;
}
#navigationBar {
background-color: #e4e4e4;
height: 40px;
}
</style>
</head>
<body>
</nav>
<nav id="navigationBar">
<button class="options">Islamic</button>
<button class="options">Educational</button>
<button class="options">Arts & Creative</button>
</nav>
</body>
</html>
【问题讨论】:
-
您的示例根本不包含边界半径
标签: css