首页 > 开发 > CSS > 正文

CSS立体按钮效果

2024-07-11 09:01:13
字体:大 中 小
来源:转载
供稿:网友

 head title 立体按钮-www.cxybl.com / title style type = text/css #elButtona{ color:#000000; font-size:12px; font-family:verdana; font-weight:bold; text-decoration:none; border:4pxoutsetaqua; background-color:#00ffff; display:block; width:13

 
 
 
  1. <head> 
  2. <title>立体按钮 - www.cxybl.com</title> 
  3. <style type="text/css"> 
  4. #elButton a { 
  5. color: #000000; 
  6. font-size:12px; 
  7. font-family:verdana; 
  8. font-weight:bold; 
  9. text-decoration: none; 
  10. border:4px outset aqua; 
  11. background-color:#00ffff; 
  12. display: block; 
  13. width: 130px; 
  14. padding: 3px 5px; 
  15. margin: 1px; 
  16. } 
  17. #elButton a:hover { 
  18. background-color: #00c0c0; 
  19. color:#000000; 
  20. padding-left:4px; 
  21. border:4px inset aqua; 
  22. } 
  23. #elButton a { 
  24. color: #000; 
  25. font-size:12px; 
  26. font-family:verdana; 
  27. font-weight:bold; 
  28. text-decoration: none; 
  29. border:4px outset aqua; 
  30. background-color:#00ffff; 
  31. display: block; 
  32. width: 130px; 
  33. padding: 3px 5px; 
  34. margin: 1px; 
  35. } 
  36. #elButton a:hover { 
  37. background: #00c0c0; 
  38. color:#000000; 
  39. padding-left:4px; 
  40. border:4px inset aqua; 
  41. } 
  42. </style> 
  43. </head> 
  44. <body> 
  45. <div id="elButton"> 
  46. <div> 
  47. </div> 
  48. </div> 
  49. </body> 
  50. </html> 

 

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表