效果图如下:
源码如下:
复制代码 代码如下:
<!doctype html&g常用对数t;
<html>
<head>
<title></title>
<meta http-equiv=”content-type” content=”text/html; chart=utf-8″>
<style type=”text/css& X什么意思C语言#8221;>
body {
font-family: arial, sans-rif;
}
#container {
margin: 120px auto;
text-align: center;
}
.button {
-webkit-transfo留守儿童工作总结rm: rotatex( 35deg );
position: relative;
display: inline-block;
width: 100px;
padding: 42px 15px;
margin: 0px 10px;
background-color: #c91826;
color: #fff;
font-weight: bold;
font-size: 40px;
t鱼腥草作用ext-decoration: none;
text-align: center;
text-shadow: 0px -1px 0px rgba(0,0,0,0.5);
border: 1px solid;
border-color: #b21522;
border-radius: 78px;
-moz-border-radius: 78px;
-webkit-border-radius: 78px;
box-shadow: int 0px -4px 5px rgba(255,255,255,0.2),
int 0px 1px 5px rgba(255,255,255,0.2),
/**/
0px 12px 0px #231f20,
0px 14px 0px #231f20,
0px 16px 0px #231f20,
/**/
0px 8px 5px rgba(0,0,0,0.5);
-moz-box-shadow: int 0px -4px 5px rgba(255,255,255,0.2),
int 0px 1px 5px rgba(255,255,255,0.2周嘉仪),
/**/
0px 12px 0px #231f20,
0px 14px 0px #231f20,
0px 16px 0px #231f20,
/**/
0px 8px 5px rgba(0,0,0,0.5);
-webkit-box-shadow: int 5px -4px 5px rgba(255,255,255,0.2),
int 5px 1px 5px rgba(255,255,255,0.2),
/**/
0px 12px 0px #231f20,
0px 14px 0px #231f20,
0px 16px 0px #231f20;
}
.button:hover {
background-color: #b21522;
color: #e3e3e3;
}
.button:active {
top: 8px;
box-shadow: int 0px 4px 5px rgba(255,255,255,0.4),
int 0px -1px 5px rgba(255,255,255,0.2),
/**/
0px 8px 0px #231f20,
/**/
0px 9px 5px rgba(0,0,0,0.5);
-moz-box-shadow: int 0px 4px 5px rgba(255,255,255,0.4),
int 0px -1px 5px rgba(255,255,255,0.2),
/**/
0px 8px 0px #231f20,
/**/
0px 9px 5px rgba(0,0,0,0.5);
-webkit-box-shadow: int 0px 4px 5px rgba(255,255,255,0.4),
int 0px -1px 5px rgba(255,255,255,0.2),
/**/
0px 8px 0px #231f20,
/**/
0px 9px 5px rgba(0,0,0,0.5);
}
</style>
</head>
<body>
<div id=”container”>
<a href=”#” class=”button”>开始</a>
<a href=”#” class=”button”>结束</a>
</div>
</body>
</html>
本文发布于:2023-04-03 15:42:09,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/f14a00c0309e1e5b1b851ddb45bf2bc1.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:利用css3制作3D样式按钮实现代码.doc
本文 PDF 下载地址:利用css3制作3D样式按钮实现代码.pdf
留言与评论(共有 0 条评论) |