Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .btn {
- background: #fff;
- border-radius: 4px;
- border-width: 0;
- color: #222;
- display: inline-block;
- font-family: "Roboto", Helvetica, Arial, Verdana, sans-serif;
- font-weight: bold;
- line-height: 18px;
- padding: 16px 32px;
- text-decoration: none
- }
- .btn.btn-shadow {
- box-shadow: 0 10px 30px rgba(0,0,0,0.2)
- }
- .btn.btn-gradient {
- background-size: 100%;
- position: relative;
- z-index: 100
- }
- .btn.btn-gradient::before {
- border-radius: inherit;
- content: "";
- display: block;
- height: 100%;
- left: 0;
- position: absolute;
- opacity: 0;
- -webkit-transition: opacity 0.6s;
- transition: opacity 0.6s;
- top: 0;
- width: 100%;
- z-index: -100
- }
- .btn.btn-gradient:hover::before {
- opacity: 1
- }
- .btn.btn-cb {
- background: transparent;
- background-image: -webkit-linear-gradient(315deg, #00dbe8 0%, #3b39b9 100%);
- background-image: linear-gradient(135deg, #00dbe8 0%, #3b39b9 100%);
- color: #fff
- }
- .btn.btn-cb::before {
- background-image: -webkit-linear-gradient(315deg, #3b39b9 0%, #00dbe8 100%);
- background-image: linear-gradient(135deg, #3b39b9 0%, #00dbe8 100%)
- }
- /* <a href="#" class="btn btn-gradient btn-shadow btn-cb">Button</a> */
- /* <button class="btn btn-gradient btn-shadow btn-cb">Button</button> */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement