CSS下的Button(十)
示例
代码
html
<button class="my-btn10">Button</button>
css
.my-btn10 {
background-color: #f3f7fe;
color: #3b82f6;
border: none;
cursor: pointer;
border-radius: 8px;
width: 100px;
height: 45px;
transition: 0.3s;
}
.my-btn10:hover {
background-color: #3b82f6;
box-shadow: 0 0 0 5px #3b83f65f;
color: #fff;
}