登录 注册

CSS如何实现立体按钮效果

资讯 驱动中国 朱丹丹 664 次阅读 0 条评论
分享 Q

<head>

 <title>立体按钮 - www.cxybl.com</title> 

<style type="text/css">

 #elButton a { color: #000000; font-size:12px; font-family:verdana; font-weight:bold; text-decoration: none; border:4px outset aqua; background-color:#00ffff; display: block; width: 130px; padding: 3px 5px; margin: 1px; }

 #elButton a:hover { background-color: #00c0c0; color:#000000; padding-left:4px; border:4px inset aqua; } 

#elButton a { color: #000; font-size:12px; font-family:verdana; font-weight:bold; text-decoration: none; border:4px outset aqua; background-color:#00ffff; display: block; width: 130px; padding: 3px 5px; margin: 1px; }

 #elButton a:hover { background: #00c0c0; color:#000000; padding-left:4px; border:4px inset aqua; } 

</style> 

</head> 

<body> 

<div id="elButton">

 <div> </div> 

</div> 

</body> 

</html> 

版权声明:本文由驱动中国整理发布,转载需注明出处与原文链接。如有疑问请联系 editor@qudong.com
本文价值 成为第一个评分的人
登录后为本文打分
网友评论0 条评论
正在回复 的评论取消
评论加载中…
🔐

登录后参与互动

评论、点赞均可赚积分
连续签到、邀请好友也有奖励 🎁

电脑端: 微信扫码登录 微信内: 一键登录

微信扫一扫

打开微信「扫一扫」,分享本文到朋友圈或好友