【发布时间】:2018-02-15 07:21:53
【问题描述】:
.button {
font-size: 18px;
font-family: Bradley Hand;
color: purple;
background: rgb(0, 255, 0); /*Default settings for button*/
border: 5px;
width: 100px;
height: 50px;
transition-duration: 0.5s;
border-radius: 10%;
}
.button:hover {
background: rgb(0, 255, 125); /*Changes the buttons size, color,*/
width: 120px; /*and font size*/
height: 60px;
font-size: 22px;
}
<button class = "button">Click me!</button>
我希望它看起来像您实际上正在按下一个按钮。有人帮忙!
【问题讨论】: