CSS3 button selector: Design Web link Smooth button

Source: Internet
Author: User
Tags new features

Article Introduction: CSS3 button Selector, through the CSS3 new features of the ordinary HTML link design into a visually smooth button m including gradient background, rounded corners, drop shadow, as well as conversion effects. Support CSS 3 animation, you can gradually change from the default state to hover state.

CSS3 button Selector, through the CSS3 new features to the ordinary HTML link design into a visually smooth button, including gradient background, rounded corners, drop shadow, as well as conversion effects. Support CSS 3 animation, you can gradually change from the default state to hover state, you can not use the picture as shown above the case of a beautiful button.


  1. button {
  2. -moz-border-radius:25px;
  3. -moz-box-shadow: #6E7849 0px 0px 10px;
  4. -moz-transition:all 0.5s Ease;
  5. -ms-transition:all 0.5s Ease;
  6. -o-transition:all 0.5s Ease;
  7. -webkit-border-radius:25px;
  8. -webkit-box-shadow: #6E7849 0 0 10px;
  9. -webkit-transition:all 0.5s Ease;
  10. Background-color: #6E7849;
  11. Background-image:-moz-linear-gradient (90deg, #B9C788, #6E7849);
  12. Background-image:-ms-linear-gradient (90deg, #B9C788, #6E7849);
  13. Background-image:-o-linear-gradient (90deg, #B9C788, #6E7849);
  14. Background-image:-webkit-linear-gradient (90deg, #B9C788, #6E7849);
  15. Background-image:linear-gradient (90deg, #B9C788, #6E7849);
  16. border-radius:25px;
  17. border:2px solid #4a5032;
  18. Box-shadow: #6E7849 0px 0px 10px;
  19. Color: #ffffff;
  20. Display:inline-block;
  21. Font-size:4em;
  22. Margin:auto;
  23. padding:15px;
  24. Text-decoration:none;
  25. Text-shadow: #000000 5px 5px 15px;
  26. Transition:all 0.5s Ease;
  27. }
  28. . button:hover {
  29. padding:15px;
  30. }


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.