精美HTML运势按钮代码示例
<!DOCTYPE html>
<html>
<head>
<title>运势按钮</title>
<style>
#fortune-button {
background-color: #FFDAB9;
border: none;
color: #000000;
padding: 15px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
cursor: pointer;
border-radius: 25px;
box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
transition: transform 0.2s ease-in-out;
}
<pre><code> #fortune-button:hover {
transform: translateY(-5px);
box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.3);
}
</style>
</code></pre>
</head>
<body>
<button id='fortune-button'>查看今日运势</button>
</body>
</html>
原文地址: https://www.cveoy.top/t/topic/nnin 著作权归作者所有。请勿转载和采集!