button有没有好看一点的删除样式
时间: 2023-10-13 16:05:07 浏览: 65
当然有!你可以使用一些CSS样式来创建一个更好看的删除按钮样式。这里是一个简单的示例:
HTML代码:
```html
<button class="delete-button">删除</button>
```
CSS代码:
```css
.delete-button {
background-color: #ff4444;
color: #ffffff;
border: none;
padding: 5px 10px;
border-radius: 3px;
cursor: pointer;
}
.delete-button:hover {
background-color: #cc0000;
}
```
这个示例使用了红色背景和白色文字,具有圆角边框和悬浮效果。你可以根据自己的需求调整这些样式。
相关推荐
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![pdf](https://img-home.csdnimg.cn/images/20210720083512.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![docx](https://img-home.csdnimg.cn/images/20210720083331.png)
![rar](https://img-home.csdnimg.cn/images/20210720083606.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)
![zip](https://img-home.csdnimg.cn/images/20210720083736.png)