home
element
about us
contact us
Search for Elements
Button
50
Loader
50
Pagination
06
BG Pattern
25
Checkbox
06
Elements
Button 01
<button class="myuihub-button">book now</button>
.myuihub-button { display: inline-block; color: #ffffff; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 8px 18px; position: relative; z-index: 1; text-decoration: none; background-color: transparent; border: none; transition: all 0.3s ease 0s; } .myuihub-button:hover { color: #ffffff; } .myuihub-button:before, .myuihub-button:after { content: ""; background-color: #3D1053; width: 90%; height: 90%; border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: translate(-50%, -50%); position: absolute; top: 50%; left: 50%; z-index: -1; animation-delay: 0.5s; transition: all 0.3s ease 0s; } .myuihub-button:after { background-color: #E16589; width: 100%; height: 100%; border-radius: 30% 50% 56% 20% / 50% 90% 50% 79%; } .myuihub-button:hover:before { width: 105%; height: 122%; animation: blob 4.5s linear infinite; } .myuihub-button:hover:after { width: 105%; height: 120%; animation: blob 5s linear infinite; } @keyframes blob { 0% { border-radius: 15% 15% 20% 15% / 90% 60% 77% 70%; transform: translate(-50%, -50%) rotate(0); } 20% { border-radius: 61% 39% 14% 86% / 67% 43% 57% 33%; transform: translate(-48%, -52%) rotate(1deg); } 45% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; transform: translate(-52%, -54%) rotate(0); } 85% { border-radius: 30% 50% 56% 20% / 50% 90% 50% 79%; transform: translate(-49%, -48%) rotate(-1deg); } 100% { border-radius: 15% 15% 20% 15% / 90% 60% 77% 70%; transform: translate(-50%, -50%) rotate(0); } }
Button 02
<button class="myuihub-button">follow us</button>
.myuihub-button { display: inline-block; color: #ffffff; background-image: linear-gradient(#FF416C, #FF4B2B); font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 8px 20px; border: none; border-radius: 30px/50px; text-decoration: none; transition: all 500ms ease-in-out; } .myuihub-button:hover { color: #ffffff; background: linear-gradient(#FF4B2B, #FF416C); letter-spacing: 2px; box-shadow: 0 0 0 1px white, 0 0 0 3px #FF416C, 0 0 0 2px white inset, 0 0 0 5px #FF416C, 6px 6px 0 2.5px white, 8px 8px 0 5px #FF416C; }
Button 03
<button class="myuihub-button" data-hover="browse more">browse more</button>
.myuihub-button { display: inline-block; color: transparent; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 7px 20px; border: none; perspective: 500px; transform-style: preserve-3d; position: relative; z-index: 1; background-color: transparent; transition: all 0.5s; } .myuihub-button::before, .myuihub-button::after { content: attr(data-hover); display: flex; align-items: center; justify-content: center; color: #000000; background-color: #A5D7A6; height: 100%; width: 100%; transform: translateZ(0px); transform-origin: 50% 50% -25px; position: absolute; top: 0; left: 0; white-space: nowrap; transition: all 0.2s ease; } .myuihub-button::after { color: #ffffff; background-color: #0099DA; transform: rotateX(90deg); transform-origin: 50% 50% -25px; visibility: hidden; transition: all 0.2s ease 0.05s; } .myuihub-button:hover::before { transform: translateZ(-200px); } .myuihub-button:hover::after { visibility: visible; transform: rotateX(0deg); }
Button 04
<button class="myuihub-button">get in touch</button>
.myuihub-button { display: inline-block; color: #000000; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 8px 20px; border: 1px solid #00d8d6; overflow: hidden; position: relative; z-index: 1; text-decoration: none; background-color: transparent; transition: all 500ms ease-in-out; } .myuihub-button:hover { color: #000000; animation: swoosh 400ms ease-in-out 200ms; } .myuihub-button::before, .myuihub-button::after { content: ""; background-color: #00d8d6; height: 100%; width: 100%; opacity: 0.7; position: absolute; top: 0; left: -100%; z-index: -1; transition: all 400ms ease-in-out 100ms; } .myuihub-button::after { opacity: 0; transform: scale(0.9, 0.7); left: 0; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { left: 100%; } .myuihub-button:hover::after { opacity: 0.2; transform: scale(1); } @keyframes swoosh { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 8px rgba(0, 214, 216, 0.3); } }
Button 05
<button class="myuihub-button"> <span>shop now</span> </button>
.myuihub-button { display: inline-block; color: #9F4F4F; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 7px 20px; border: none; overflow: hidden; position: relative; z-index: 1; text-decoration: none; background-color: transparent; transition: all 500ms ease-in-out; } .myuihub-button:hover { color: #ffffff; } .myuihub-button::before, .myuihub-button::after, .myuihub-button span::before, .myuihub-button span::after { content: ""; background-color: #9F4F4F; height: 3px; width: 100%; position: absolute; top: 0; left: 0; z-index: -1; transition: all 200ms linear; } .myuihub-button::after { top: auto; bottom: 0; } .myuihub-button:hover::before, .myuihub-button:hover::after { height: 27%; } .myuihub-button span { display: block; } .myuihub-button span::before, .myuihub-button span::after { height: 50%; width: 3px; transform: translateY(-50%); top: 50%; } .myuihub-button span::after { left: auto; right: 0; } .myuihub-button:hover span::before, .myuihub-button:hover span::after { width: 51%; }
Button 06
<button class="myuihub-button">login now</button>
.myuihub-button { display: inline-block; color: #ffffff; background-color: #ff3f34; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 10px 20px; border: none; position: relative; z-index: 1; text-decoration: none; transition: all 400ms ease-in-out; } .myuihub-button:hover { color: #ffffff; border-radius: 30px; background-color: transparent; } .myuihub-button::before { content: ""; position: absolute; height: 100%; width: 10%; position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: -1; background-color: #3c40c6; border-radius: 30px; opacity: 0; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { width: 100%; opacity: 1; }
Button 07
<button class="myuihub-button"> <span>sign up now</span> </button>
.myuihub-button { display: inline-block; color: #000000; background-color: #e1e1e1; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 0; border: none; border-radius: 7px; overflow: hidden; position: relative; z-index: 1; text-decoration: none; transition: all 300ms ease; } .myuihub-button:hover { color: #ffffff; background-color: #e1e1e1; } .myuihub-button::before, .myuihub-button::after, .myuihub-button span::before, .myuihub-button span::after { content: ""; background-image: linear-gradient(to bottom, #FF416C, #FF4B2B); width: 25%; height: 100%; opacity: 0; position: absolute; top: 0; left: 0; transition: all 300ms; } .myuihub-button::before { transform: scaleY(0.2); transition-delay: 300ms; } .myuihub-button::after { transform: scaleY(0.45); left: 25%; transition-delay: 0.2s; } .myuihub-button span::before { transform: scaleY(0.65); left: 50%; z-index: -1; transition-delay: 0.1s; } .myuihub-button span::after { transform: scaleY(0.8); left: 75%; z-index: -1; } .myuihub-button span { padding: 10px 20px; display: block; position: relative; z-index: 1; } .myuihub-button:hover::before, .myuihub-button:hover::after, .myuihub-button:hover span::before, .myuihub-button:hover span::after { opacity: 1; transform: scaleY(1); }
Button 08
<button class="myuihub-button"> <span>get started</span> </button>
.myuihub-button { display: inline-block; color: #33396E; background-color: #ffc2c2; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 0; border: none; border-radius: 20px 30px 25px 0px; overflow: hidden; position: relative; z-index: 1; text-decoration: none; transition: all 300ms ease; } .myuihub-button:hover { color: #ffffff; background-color: #ffc2c2; } .myuihub-button::before, .myuihub-button::after, .myuihub-button span::before, .myuihub-button span::after { content: ""; background-color: #33396E; width: 25%; height: 100%; position: absolute; top: 0; left: 0; transition: all 300ms ease; } .myuihub-button::before { top: -100%; transition-delay: 0.15s; } .myuihub-button::after { left: 25%; top: 100%; transition-delay: 0.1s; } .myuihub-button span::before { left: 50%; top: -100%; z-index: -1; transition-delay: 0.05s; } .myuihub-button span::after { left: 75%; top: 100%; z-index: -1; } .myuihub-button span { z-index: 1; display: block; padding: 10px 20px; position: relative; } .myuihub-button:hover::before, .myuihub-button:hover::after, .myuihub-button:hover span::before, .myuihub-button:hover span::after { top: 0; }
Button 09
<button class="myuihub-button">read more</button>
.myuihub-button { display: inline-block; color: #ffffff; background-color: transparent; font-size: 16px; font-weight: 500; line-height: 24px; text-transform: capitalize; border: 2px solid #3c40c6; border-radius: 15px; padding: 8px 20px; position: relative; z-index: 1; text-decoration: none; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #ffffff; background-color: #ffffff; } .myuihub-button::before, .myuihub-button::after { content: ""; background-color: #3c40c6; height: 100%; width: 100%; border-radius: 10px; position: absolute; left: 0; top: 0; z-index: -1; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { transform: scale(0); } .myuihub-button::after { height: 70%; width: 115%; border-radius: 30px; transform: translate(-50%, -50%) scale(0); left: 50%; top: 50%; } .myuihub-button:hover::after { transform: translate(-50%, -50%) scale(1); }
Button 10
<button class="myuihub-button">click on me</button>
.myuihub-button { display: inline-block; color: #7a02fd; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 10px 25px; border: 1px solid #7a02fd; border-radius: 30px; overflow: hidden; position: relative; z-index: 1; text-decoration: none; background-color: transparent; transition: all 200ms ease-in-out; } .myuihub-button:hover { color: #fff; box-shadow: 0 0 15px rgb(122 2 253 / 40%); transform: scale(1.05); } .myuihub-button:active { transform: scale(1); } .myuihub-button::before { content: ""; background-color: #7a02fd; height: 100%; width: 100%; border-radius: 25px; transform: translate(-100%, 0) rotate(10deg); position: absolute; left: 0; top: 0; z-index: -1; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { transform: translate(0) rotate(0); }
Button 11
<button class="myuihub-button" data-hover="take me there">Take me there</button>
.myuihub-button { display: inline-block; color: #ffffff; background-color: transparent; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; padding: 8px 15px; border: 1px solid #0E646B; overflow: hidden; position: relative; text-decoration: none; background-color: transparent; transition: all 200ms ease-in-out; } .myuihub-button:hover { color: #0E646B; } .myuihub-button::before, .myuihub-button::after { content: attr(data-hover); display: flex; align-items: center; justify-content: center; background-color: #0E646B; height: 100%; width: 100%; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); clip-path: polygon(0 0, 100% 0%, 100% 55%, 0 55%); transition: all 300ms ease-in-out; } .myuihub-button::after { clip-path: polygon(0 100%, 100% 100%, 100% 55%, 0 55%); } .myuihub-button:hover::before { top: -55% } .myuihub-button:hover::after { top: 100% } .myuihub-button span { display: block; transform: scale(0); transition: all 300ms ease-in-out; } .myuihub-button:hover span { transform: scale(1); }
Button 12
<button class="myuihub-button" data-hover="learn more">learn more</button>
.myuihub-button { display: inline-block; color: transparent; font-size: 16px; font-weight: 500; line-height: 24px; text-transform: capitalize; padding: 8px 25px; border: none; overflow: hidden; position: relative; z-index: 1; text-decoration: none; background-color: transparent; transition: all 200ms ease-in-out; } .myuihub-button:hover { color: transparent; } .myuihub-button:before, .myuihub-button:after { content: attr(data-hover); display: flex; align-items: center; justify-content: center; color: #ffffff; background-color: #33334E; width: 100%; height: 100%; position: absolute; top: 50%; left: 0%; transform: scale(1) translateY(-50%); white-space: nowrap; transition: all 400ms ease-in-out; } .myuihub-button:after { background-color: #E14835; transform: scale(0) translateY(-50%); top: -100%; z-index: -1; } .myuihub-button:hover:before { transform: scale(0) translateY(-50%); top: 100%; } .myuihub-button:hover:after { top: 50%; transform: scale(1) translateY(-50%); }
Button 13
<button class="myuihub-button" data-hover="explore more">explore more</button>
.myuihub-button { display: inline-block; color: #341f97; font-size: 16px; font-weight: 600; line-height: 24px; text-transform: uppercase; padding: 10px 25px; border: 1px solid #341f97; border-radius: 0; overflow: hidden; position: relative; text-decoration: none; background-color: transparent; transition: all 200ms ease-in-out; } .myuihub-button:hover { color: transparent; border-radius: 15px; } .myuihub-button::before { content: attr(data-hover); display: flex; align-items: center; justify-content: center; color: #ffffff; background-color: #341f97; width: 120%; height: 100%; padding: 0; position: absolute; top: 50%; left: -180%; transform: skew(-30deg) translateY(-50%); transition: transform 300ms ease-in-out 100ms, left 200ms; } .myuihub-button:hover::before { transform: skew(0) translateY(-50%); left: -10%; }
Button 14
<button class="myuihub-button">continue</button>
.myuihub-button { display: inline-block; color: #ffffff; text-transform: capitalize; font-size: 16px; line-height: 24px; padding: 12px 20px; border: none; perspective: 200px; position: relative; text-decoration: none; background-color: transparent; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #F9AE43; } .myuihub-button::before, .myuihub-button::after { content: ""; background-color: #F9AE43; width: 100%; height: 50%; position: absolute; top: 0; left: 0; z-index: -1; transition: all 300ms ease-in-out; } .myuihub-button::after { top: auto; bottom: 0; } .myuihub-button:hover::before { transform: rotateX(-65deg); transform-origin: top center; transform-style: preserve-3d; } .myuihub-button:hover::after { transform: rotateX(65deg); transform-origin: bottom center; transform-style: preserve-3d; }
Button 15
<button class="myuihub-button">hover me</button>
.myuihub-button { display: inline-block; color: #fff; font-size: 16px; line-height: 24px; text-transform: capitalize; border: 2px solid #6A3B2D; perspective: 500px; overflow: hidden; position: relative; z-index: 1; padding: 8px 15px; text-decoration: none; background-color: transparent; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #fff; border-color: #ECC091; } .myuihub-button::before, .myuihub-button::after { content: ""; background-color: #6A3B2D; height: 110%; width: 100%; border-radius: 0 0 40% 40%; position: absolute; left: 0; top: -10%; z-index: -1; transition: all 300ms; } .myuihub-button::after { background-color: #ECC091; border-radius: 40% 40% 0 0; opacity: 0; transform: rotateX(90deg); transform-origin: bottom center; left: auto; right: 0; top: auto; bottom: -10%; z-index: -2; } .myuihub-button:hover::before { opacity: 0; transform: rotateX(-90deg); transform-origin: top left; } .myuihub-button:hover::after { opacity: 1; transform: rotateX(0); }
Button 16
<button class="myuihub-button"> <span>book now</span> </button>
.myuihub-button { display: inline-block; color: #ffffff; background-color: #B53471; text-transform: capitalize; border: 1px solid #B53471; perspective: 500px; overflow: hidden; position: relative; z-index: 1; text-decoration: none; font-size: 16px; font-weight: 500; line-height: 24px; padding: 8px 18px; transition: all 500ms ease-in-out; } .myuihub-button:hover { color: #B53471; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; background-color: #ffffff; width: 25%; height: 100%; opacity: 0; transform: rotate3d(-1, 1, 0, -110deg); transform-origin: top left; position: absolute; left: 0; top: 0; z-index: -1; transition: all 300ms ease-in-out; } .myuihub-button:after { left: 25%; } .myuihub-button span:before { left: 50%; } .myuihub-button span:after { left: 75%; } .myuihub-button:hover:before, .myuihub-button:hover:after, .myuihub-button:hover span:before, .myuihub-button:hover span:after { opacity: 1; transform: rotate3d(1, 1, 0, 0); }
Button 17
<button class="myuihub-button" data-hover="Follow us"> <span>Follow us</span> </button>
.myuihub-button { display: inline-block; color: #ffffff; background: linear-gradient(#fe3b1c, #d93218); font-size: 16px; line-height: 24px; font-weight: 500; text-transform: uppercase; padding: 8px 15px; border: none; overflow: hidden; position: relative; z-index: 1; text-decoration: none; min-width: 140px; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #ffffff; border: none; background: linear-gradient(#243B55, #141E30); } .myuihub-button:before { content: attr(data-hover); color: #ffffff; opacity: 0; transform: translate(-50%, -50%); position: absolute; left: 50%; top: -100%; white-space: nowrap; transition: all 300ms ease-in-out 100ms; } .myuihub-button:hover:before { opacity: 1; top: 50%; } .myuihub-button span { transition: all 0.3s ease; } .myuihub-button:hover span { letter-spacing: 4px; opacity: 0; }
Button 18
<button class="myuihub-button"> <span>browse more</span> </button>
.myuihub-button { display: inline-block; color: #3c40c6; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; background-color: transparent; border: 3px solid #3c40c6; padding: 7px 17px; border-radius: 20px 0; position: relative; z-index: 1; text-decoration: none; transition: all 0.3s ease-in-out 0.1s; } .myuihub-button:hover { color: #fff; background-color: #3c40c6; border-radius: 0; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; background-color: #fff; width: 0px; height: 3px; position: absolute; top: -3px; right: 0; transition: all 300ms ease; } .myuihub-button:after, .myuihub-button span:after { width: 3px; height: 0; right: -3px; transition: 450ms ease; } .myuihub-button span:before { width: 0; top: auto; bottom: -3px; right: auto; left: 0; } .myuihub-button span:after { right: auto; left: -3px; bottom: -3px; top: auto; } .myuihub-button:hover:before, .myuihub-button:hover span:before { width: 100%; } .myuihub-button:hover:after, .myuihub-button:hover span:after { height: 125%; }
Button 19
<button class="myuihub-button"> <div class="myuihub-svg"> <svg width="13" height="13" viewBox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M1.00415 2.99591H8.59415L0.294151 11.2859C0.105848 11.4742 5.91278e-05 11.7296 5.91278e-05 11.9959C5.91278e-05 12.2622 0.105848 12.5176 0.294151 12.7059C0.482455 12.8942 0.737849 13 1.00415 13C1.27045 13 1.52585 12.8942 1.71415 12.7059L10.0042 4.40591V11.9959C10.0042 12.2611 10.1095 12.5155 10.297 12.703C10.4846 12.8906 10.7389 12.9959 11.0042 12.9959C11.2694 12.9959 11.5237 12.8906 11.7113 12.703C11.8988 12.5155 12.0042 12.2611 12.0042 11.9959V1.99591C12.0026 1.86523 11.9754 1.73613 11.9242 1.61591C11.8227 1.37156 11.6285 1.17738 11.3842 1.07591C11.2639 1.02467 11.1348 0.997489 11.0042 0.995909H1.00415C0.738934 0.995909 0.484579 1.10126 0.297043 1.2888C0.109506 1.47634 0.00415039 1.73069 0.00415039 1.99591C0.00415039 2.26113 0.109506 2.51548 0.297043 2.70302C0.484579 2.89055 0.738934 2.99591 1.00415 2.99591Z" /></svg> </div> get in touch </button>
.myuihub-button { display: inline-block; color: #ffffff; background-color: #333333; font-size: 16px; line-height: 24px; font-weight: 500; letter-spacing: 0.5px; text-transform: capitalize; padding: 12px 16px 12px 40px; border: none; overflow: hidden; position: relative; z-index: 1; text-decoration: none; transition: all 0.3s ease-in-out; } .myuihub-button:hover { color: #333333; padding: 12px 28px; } .myuihub-button .myuihub-svg { position: absolute; left: 20px; top: 50%; transform: translate(-50%, -50%); width: 20px; height: 20px; display: flex; align-items: center; justify-content: center; background-color: #ffcc15; border-radius: 50%; z-index: -1; transition: all 300ms ease-in-out; } .myuihub-button:hover .myuihub-svg { width: 700px; height: 700px; } .myuihub-button .myuihub-svg svg { width: 10px; height: 10px; fill: #333333; transition: all 300ms ease-in-out; } .myuihub-button:hover .myuihub-svg svg { width: 0; height: 0; }
Button 20
<button class="myuihub-button">shop now</button>
.myuihub-button { display: inline-block; color: #1F594D; font-size: 16px; line-height: 24px; font-weight: 600; text-transform: capitalize; padding: 10px 30px 8px; border-radius: 0; position: relative; z-index: 1; text-decoration: none; border: none; background-color: transparent; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #1F594D; } .myuihub-button::before, .myuihub-button::after { content: ""; background-color: #B2EC61; height: 100%; width: 93%; border-radius: 25px 25px 0 0; position: absolute; left: 50%; bottom: 0; z-index: -1; transition: all 0.3s; transform: translateX(-50%); } .myuihub-button::after { background-color: #1F594D; width: 0%; border-radius: 0; z-index: -2; height: 100%; } .myuihub-button:hover::before { width: 95%; height: 93%; } .myuihub-button:hover::after { width: 100%; }
Button 21
<button class="myuihub-button"> <span>login now</span> </button>
.myuihub-button { padding: 0; border: none; display: inline-block; position: relative; z-index: 1; text-decoration: none; background-color: transparent; } .myuihub-button:after { content: ""; background-image: repeating-linear-gradient( 135deg, transparent 0, transparent 5px, #999 5px, #999 10px, transparent 10px); width: 100%; height: 100%; position: absolute; left: 0; bottom: 0; z-index: -1; transition: all .3s; } .myuihub-button span { color: #fff; background: linear-gradient(45deg, #00b09b, #96c93d); font-size: 18px; line-height: 28px; text-transform: capitalize; letter-spacing: 1px; padding: 10px 15px; box-shadow: 0 0 2px 2px #fff; display: block; transform: translate(6px, -6px); transition: all 0.3s; } .myuihub-button:hover span { transform: translate(0, 0); }
Button 22
<button class="myuihub-button"> sign up now <span>sign up now</span> </button>
.myuihub-button { color: #3e3dbc; background-color: #fff; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; padding: 12px 25px; border: none; border-radius: 25px; display: inline-block; overflow: hidden; position: relative; text-decoration: none; transition: all .3s ease-in-out; } .myuihub-button:hover { color: transparent; border-radius: 0; } .myuihub-button:before, .myuihub-button:after { content: ""; background-color: #3e3dbc; height: 4px; width: 100%; position: absolute; left: 0; top: 0; transition: all 0.3s; } .myuihub-button:after { top: auto; bottom: 0; } .myuihub-button:hover:before, .myuihub-button:hover:after { height: 55%; } .myuihub-button span { color: #fff; padding: 12px 25px; opacity: 0; transform: scale(0); position: absolute; left: 0; top: 0; transition: all 0.3s ease 0.05s; } .myuihub-button:hover span { opacity: 1; transform: scale(1); z-index: 1; }
Button 23
<button class="myuihub-button"> <svg width="25" height="24" viewBox="0 0 25 24" xmlns="http://www.w3.org/2000/svg"><path d="M16.1534 20.8488C15.9069 20.8488 15.6604 20.758 15.4658 20.5633C15.0895 20.1871 15.0895 19.5643 15.4658 19.188L22.6537 11.9999L15.4658 4.81184C15.0895 4.43557 15.0895 3.81277 15.4658 3.4365C15.8421 3.06023 16.4648 3.06023 16.8411 3.4365L24.7167 11.3122C25.093 11.6885 25.093 12.3113 24.7167 12.6876L16.8411 20.5633C16.6465 20.758 16.4 20.8488 16.1534 20.8488Z" fill="white"/><path d="M23.8082 12.9731H1.97188C1.43992 12.9731 0.998779 12.5319 0.998779 12C0.998779 11.468 1.43992 11.0269 1.97188 11.0269H23.8082C24.3402 11.0269 24.7813 11.468 24.7813 12C24.7813 12.5319 24.3402 12.9731 23.8082 12.9731Z" fill="white"/></svg> <span>get started</span> </button>
.myuihub-button { display: inline-flex; align-items: center; gap: 25px; background-color: #f5f3ff; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; border: 1px solid #A490F7; border-radius: 30px; padding: 10px 25px 10px 12px; position: relative; color: #000000; transition: all 300ms ease-in-out; } .myuihub-button:hover { color: #ffffff; } .myuihub-button::before { content: ""; position: absolute; left: 0; top: 0; width: 45px; height: 100%; background-color: #A490F7; border-radius: 30px; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { width: 100%; } .myuihub-button svg { position: relative; z-index: 1; width: 20px; height: 20px; } .myuihub-button span { position: relative; z-index: 1; }
Button 24
<button class="myuihub-button">read more</button>
.myuihub-button { display: inline-block; color: #ffffff; font-weight: 500; font-size: 16px; line-height: 24px; text-transform: capitalize; padding: 10px 20px; text-decoration: none; border: 2px solid transparent; border-radius: 10px; background-color: #e15f41; transition: all 0.3s ease-in-out; } .myuihub-button:hover { color: #e15f41; border-color: #e15f41; background-color: transparent; font-weight: 700; box-shadow: 1px 1px 0 1px rgba(255, 127, 80, 0.9), 2px 2px 0 1px rgba(255, 127, 80, 0.8), 3px 3px 0 1px rgba(255, 127, 80, 0.7), 4px 4px 0 1px rgba(255, 127, 80, 0.6), 5px 5px 0 1px rgba(255, 127, 80, 0.5), 6px 6px 0 1px rgba(255, 127, 80, 0.4), 7px 7px 0 1px rgba(255, 127, 80, 0.3), 8px 8px 0 1px rgba(255, 127, 80, 0.2), 10px 9px 0 1px rgba(255, 127, 80, 0.1); }
Button 25
<button class="myuihub-button">take me there</button>
.myuihub-button { display: inline-block; color: #000000; background-color: #b3dada; font-size: 16px; font-weight: 500; line-height: 24px; text-transform: capitalize; padding: 10px 25px; border: none; border-radius: 50px; z-index: 1; text-decoration: none; transition: all 0.3s ease-in-out; } .myuihub-button:hover { color: #fff; box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25); background-color: #7F1D9C; animation: bounce 0.4s linear; } @keyframes bounce { 40% { transform: scale(1.1); } 60% { transform: scale(0.8); } 80% { transform: scale(1.1); } 100% { transform: scale(1.0); } }
Button 26
<button class="myuihub-button"> <span>learn more</span> </button>
.myuihub-button { color: #ffffff; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; padding: 10px 25px; border: none; border-radius: 15px; overflow: hidden; display: inline-block; position: relative; z-index: 1; text-decoration: none; background-color: #3DB1FF; transition: all 0.3s ease-in-out; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; width: 100%; height: 100%; background-color: #036498; opacity: 0.6; position: absolute; top: -90px; left: 0; z-index: -1; transition: all 0.4s ease 0.2s; } .myuihub-button:after { opacity: 1; z-index: -2; transition: all 0.4s ease 0.3s; } .myuihub-button span:before, .myuihub-button span:after { opacity: 0.4; z-index: -2; transition: all 0.4s ease 0.1s; } .myuihub-button span:after { opacity: 0.2; transition: all 0.4s ease 0s; } .myuihub-button:hover:before, .myuihub-button:hover:after, .myuihub-button:hover span:before, .myuihub-button:hover span:after { top: 0; }
Button 27
<button class="myuihub-button"> <span>explore more</span> </button>
.myuihub-button { display: inline-block; color: #ffffff; font-size: 16px; line-height: 24px; text-transform: capitalize; overflow: hidden; position: relative; z-index: 1; padding: 10px 25px; text-decoration: none; border: none; background-color: #5C484E; transition: all 0.3s ease-in-out; } .myuihub-button:hover { background-color: transparent; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; background-color: #6eaa40; width: 100%; height: 26%; transform: rotateX(90deg); position: absolute; left: 0; top: 0; z-index: -1; clip-path: polygon(7% 0%, 93% 0%, 100% 100%, 0% 100%); transition: top 0.3s, transform 0.3s; } .myuihub-button:after, .myuihub-button span:after { background-color: #8abc62; clip-path: polygon(0 0, 100% 0, 93% 100%, 7% 100%); } .myuihub-button:hover:before, .myuihub-button:hover:after, .myuihub-button:hover span:before, .myuihub-button:hover span:after { transform: rotateX(0); } .myuihub-button:hover:after { top: 25%; } .myuihub-button:hover span:before { top: 50%; } .myuihub-button:hover span:after { top: 75%; }
Button 28
<button class="myuihub-button"> <span>continue</span> </button>
.myuihub-button { display: inline-block; color: #132894; font-size: 16px; line-height: 24px; font-weight: 500; text-transform: capitalize; border: 2px dashed #132894; border-radius: 50px; overflow: hidden; position: relative; z-index: 1; padding: 10px 25px; text-decoration: none; background-color: #ecf0ff; transition: all 0.3s ease-in-out; } .myuihub-button:hover { color: #fff; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; background-color: #e53754; height: 50%; width: 50%; opacity: 0; position: absolute; left: 50%; top: 0; z-index: -1; transition: all 0.3s ease-in-out; } .myuihub-button:after, .myuihub-button:hover span:before { top: 50%; } .myuihub-button span:before, .myuihub-button:hover:before { left: 0; top: 0; } .myuihub-button span:after { left: 0; top: 50%; } .myuihub-button:hover:before, .myuihub-button:hover:after, .myuihub-button:hover span:before, .myuihub-button:hover span:after { opacity: 1; } .myuihub-button:hover:after { top: 0; } .myuihub-button:hover span:after { top: 50%; left: 50%; }
Button 29
<button class="myuihub-button">click on me</button>
.myuihub-button { display: inline-block; text-transform: capitalize; color: #000000; padding: 10px 20px; border: none; background-color: #ffbd72; box-shadow: 0 4px 0 #dba261; position: relative; border-radius: 5px; font-size: 16px; line-height: 24px; text-decoration: none; transition: all 0.2s ease-in-out 0s; } .myuihub-button:hover { transform: translateY(2px); box-shadow: 0 2px 0 #dba261; color: #000000; }
Button 30
<button class="myuihub-button"> <span>hover me</span> </button>
.myuihub-button { display: inline-block; padding: 0; background-color: transparent; border: none; } .myuihub-button span { display: block; color: #000000; background-color: #FEC344; font-size: 16px; font-weight: 500; line-height: 24px; text-transform: capitalize; padding: 8px 20px; border-radius: 0; position: relative; text-decoration: none; transition: all 500ms ease-in-out; } .myuihub-button:hover span { background-color: #C83B5F; color: #fff; transform: rotateX(360deg); }
Button 31
<button class="myuihub-button">book now</button>
.myuihub-button { display: inline-block; text-transform: capitalize; letter-spacing: 1px; position: relative; overflow: hidden; z-index: 1; padding: 10px 15px; color: #ffffff; border: none; text-decoration: none; font-size: 16px; line-height: 24px; background-color: #B573FF; transition: all 0.3s ease 0s; } .myuihub-button:before { content: ""; width: 200px; height: 150px; border-radius: 50%; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); z-index: -1; background-color: #383369; transition: all 0.7s ease 0s; } .myuihub-button:hover:before { bottom: -50px; } .myuihub-button:hover { color: #fff; }
Button 32
<button class="myuihub-button">follow us</button>
.myuihub-button { display: inline-block; text-transform: uppercase; letter-spacing: 1px; z-index: 1; position: relative; color: #ffffff; border: none; background-color: #0F867B; padding: 12px 25px; font-size: 16px; line-height: 24px; text-decoration: none; transition: all 0.4s ease 0s; } .myuihub-button:before, .myuihub-button:after { content: ""; width: 0; height: 2px; background-color: #fff; position: absolute; top: 3px; left: 3px; transition: all 0.4s ease 0s; } .myuihub-button:after { top: auto; left: auto; bottom: 3px; right: 3px; } .myuihub-button:hover:before, .myuihub-button:hover:after { width: 20%; } .myuihub-button:hover { background-color: #231F1F; color: #fff; }
Button 33
<button class="myuihub-button">browse more</button>
.myuihub-button { display: inline-block; color: #fff; text-transform: capitalize; box-shadow: 3px 3px 10px 0 rgba(0, 0, 0, 0.08); perspective: 300px; z-index: 1; position: relative; padding: 10px 20px; border: 2px solid #fe6d6d; text-decoration: none; font-size: 16px; line-height: 24px; background-color: #ffffff; transition: all 0.3s ease 0s; } .myuihub-button:before { content: ""; width: 100%; height: 100%; position: absolute; top: 0; left: 0; z-index: -1; background-color: #fe6d6d; transform-origin: left center 0; transition: all 0.3s ease 0s; } .myuihub-button:hover:before { transform: rotateY(95deg); } .myuihub-button:hover { color: #fe6d6d; }
Button 34
<button class="myuihub-button"> <div class="myuihub-svg"> <svg xmlns="http://www.w3.org/2000/svg" version="1.1" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" width="512" height="512" x="0" y="0" viewBox="0 0 24 24" style="enable-background:new 0 0 512 512" xml:space="preserve" fill-rule="evenodd" class=""><g transform="matrix(1.0999999999999994,0,0,1.0999999999999994,-1.199993109703053,-1.2000000238418451)"><path d="M16.25 7a.75.75 0 0 1-1.5 0V5.5a2.75 2.75 0 1 0-5.5 0V7a.75.75 0 0 1-1.5 0V5.5a4.25 4.25 0 0 1 8.5 0z" class=""></path><path d="m19.342 8.35.8 12a2.253 2.253 0 0 1-2.245 2.4H6.103a2.251 2.251 0 0 1-2.245-2.4l.8-12a2.25 2.25 0 0 1 2.245-2.1h10.194a2.25 2.25 0 0 1 2.245 2.1zm-4.856 2.328a2.753 2.753 0 0 1-4.972 0 .75.75 0 1 0-1.355.644 4.25 4.25 0 0 0 7.682 0 .75.75 0 0 0-1.355-.644z" class=""></path></g></svg> </div> shop now </button>
.myuihub-button { display: inline-block; padding: 10px 20px; color: #f3e338; text-transform: capitalize; padding-left: 60px; position: relative; transform: translateZ(0px); border: 1px solid #1C1F20; background-color: #1C1F20; text-decoration: none; font-size: 16px; line-height: 24px; transition: all 0.5s ease 0s; } .myuihub-button:hover { color: #1C1F20; } .myuihub-button:after { content: ""; position: absolute; top: 0; left: 0; bottom: 0; right: 0; background-color: #f3e338; z-index: -1; transform: scaleX(0); transform-origin: 100% 50% 0; transition: all 0.5s ease-out 0s; } .myuihub-button:hover:after { transform: scaleX(1); transition-timing-function: cubic-bezier(0.52, 1.64, 0.37, 0.66); } .myuihub-button .myuihub-svg { display: flex; align-items: center; justify-content: center; width: 44px; height: 100%; background-color: #f3e338; position: absolute; top: 0; left: 0; transition: all 0.3s linear 0s; } .myuihub-button .myuihub-svg::after { content: ""; display: block; width: 8px; height: 8px; background-color: #f3e338; margin: auto 0; position: absolute; top: 0; right: -4px; bottom: 0; transform: rotate(45deg); transition: all 0.3s linear 0s; } .myuihub-button .myuihub-svg svg { width: 20px; height: 20px; } .myuihub-button:hover, .myuihub-button svg { fill: #1C1F20; } .myuihub-button:hover .myuihub-svg, .myuihub-button:hover .myuihub-svg:after { background-color: #1C1F20; } .myuihub-button:hover .myuihub-svg svg { fill: #f3e338; }
Button 35
<button class="myuihub-button"> <span>login now</span> </button>
.myuihub-button { display: inline-block; color: #fff; text-transform: capitalize; border-radius: 3px; padding: 0; border: none; overflow: hidden; position: relative; background-color: #2F3F69; text-decoration: none; font-size: 16px; line-height: 24px; transition: all .3s cubic-bezier(1, 0.15, 0.34, 1.03); } .myuihub-button:before { content: ""; background-color: #FDE258; border-radius: 50%; padding: 18%; position: absolute; top: 50%; left: 50%; transform: translate3d(-50%, -50%, 0) scale(0); transition: transform .3s cubic-bezier(1, 0.15, 0.34, 1.03); } .myuihub-button:hover:before { transform: translate3d(-50%, -50%, 0) scale(2.5); } .myuihub-button span { display: block; position: relative; z-index: 2; padding: 10px 20px; } .myuihub-button:hover { color: #2F3F69; }
Button 36
<button class="myuihub-button"> <span>sign up now</span> </button>
.myuihub-button { text-transform: capitalize; padding: 0; text-decoration: none; background-color: #A5614E; border: none; } .myuihub-button span { display: inline-block; border-radius: 0; position: relative; color: #ffffff; border: 2px solid #A5614E; padding: 8px 25px; font-size: 16px; line-height: 24px; transition: all 0.3s ease-in-out 0s; } .myuihub-button span:before, .myuihub-button span:after { content: ""; display: block; width: 16px; height: 16px; position: absolute; border-style: solid; border-color: #a5614e; transition: all 0.3s ease-in-out 0s; } .myuihub-button span:before { top: -6px; left: -6px; border-width: 2px 0 0 2px; } .myuihub-button span:after { bottom: -6px; right: -6px; border-width: 0 2px 2px 0; } .myuihub-button span:hover:before, .myuihub-button span:hover:after { width: calc(100% + 12px); height: calc(100% + 12px); transform: rotateY(180deg); } .myuihub-button span:hover { color: #000000; background-color: #F8CEA8; border-color: #F8CEA8; }
Button 37
<button class="myuihub-button"> <span>get started</span> </button>
.myuihub-button { display: inline-block; color: #333; text-transform: capitalize; overflow: hidden; padding: 0; position: relative; z-index: 1; text-decoration: none; font-size: 16px; line-height: 24px; border: none; background-color: #e5c873; color: #000000; transition: all 0.3s ease; } .myuihub-button:hover { color: #fff; } .myuihub-button span { display: block; position: relative; padding: 10px 20px; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; width: 100%; height: 25%; position: absolute; left: 0; opacity: 1; z-index: -1; transform: scale(0, 1); transition: all 0.3s ease; } .myuihub-button:before { top: 0; transition-delay: 0s; } .myuihub-button:after { top: 25%; transition-delay: 0.1s; } .myuihub-button span:before { top: 50%; transition-delay: 0.2s; } .myuihub-button span:after { top: 75%; transition-delay: 0.3s; } .myuihub-button:hover:before, .myuihub-button:hover:after, .myuihub-button:hover span:before, .myuihub-button:hover span:after { opacity: 1; left: 0; right: 0; transform: scale(1); } .myuihub-button:hover:before { transition-delay: 0s; } .myuihub-button:hover:after { transition-delay: 0.1s; } .myuihub-button:hover span:before { transition-delay: 0.2s; } .myuihub-button:hover span:after { transition-delay: 0.3s; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { background-color: #361D27; }
Button 38
<button class="myuihub-button">read more</button>
.myuihub-button { display: inline-block; padding: 10px 25px; color: #444; text-transform: capitalize; background-color: #ebebeb; border: none; position: relative; text-decoration: none; font-size: 16px; line-height: 24px; transition: all .35s ease-in-out .35s; } .myuihub-button:hover { color: #fff; background-color: #fe6d6d; } .myuihub-button:before, .myuihub-button:after { content: ""; width: 0; height: 0; position: absolute; opacity: 0; transition: all .35s ease-in-out .5s; } .myuihub-button:before { top: 0; left: 0; border-top: 2px solid #fe6d6d; border-left: 2px solid #fe6d6d; } .myuihub-button:after { bottom: 0; right: 0; border-bottom: 2px solid #fe6d6d; border-right: 2px solid #fe6d6d; } .myuihub-button:hover:before, .myuihub-button:hover:after { width: 100%; height: 100%; opacity: 1; transition: all ease-in-out .35s; }
Button 39
<button class="myuihub-button">take me there</button>
.myuihub-button { display: inline-block; border-radius: 0; border: none; text-transform: capitalize; position: relative; color: #fff; padding: 10px 30px; background-color: #652682; text-decoration: none; font-size: 16px; line-height: 24px; transition: all 0.3s ease 0s; } .myuihub-button:hover { background-color: #2ba4d1; } .myuihub-button:before { content: ""; width: 0; height: 0; position: absolute; bottom: 0; right: 0; box-shadow: -1px -1px 1px rgba(0, 0, 0, 0.4); background: linear-gradient(315deg, #fff 45%, #2ba4d1 50%, #2ba4d1 56%, #fff 90%); transition: all 0.3s ease 0s; } .myuihub-button:hover:before { width: 25px; height: 25px; }
Button 40
<button class="myuihub-button"> <span>learn more</span> </button>
.myuihub-button { display: inline-block; padding: 10px 25px; color: #1D4891; border: 1px solid #F5F59F; border-radius: 0; text-transform: capitalize; position: relative; overflow: hidden; z-index: 1; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; background-color: #F5F59F; transition: all 600ms ease-in-out; } .myuihub-button:before, .myuihub-button:after { content: ""; position: absolute; border-width: 0; border-style: solid; z-index: -1; transition: all 600ms ease-in-out; } .myuihub-button:before { bottom: 0; left: 0; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #1D4891; } .myuihub-button:after { bottom: 0; right: 0; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #1D4891; } .myuihub-button:hover:before { border-width: 200px 0 0 200px; } .myuihub-button:hover:after { border-width: 0 0 200px 200px; } .myuihub-button:hover { color: #ffffff; border-color: #1D4891; }
Button 41
<button class="myuihub-button"> <span>explore more</span> </button>
.myuihub-button { display: inline-block; padding: 8px 25px; border-radius: 0; text-transform: capitalize; position: relative; overflow: hidden; z-index: 1; border: 1px solid #15A266; color: #ffffff; background-color: #15A266; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; transition: all 500ms ease-in-out; } .myuihub-button:before, .myuihub-button:after, .myuihub-button span:before, .myuihub-button span:after { content: ""; position: absolute; border-width: 0; border-style: solid; z-index: -1; transition: all 500ms ease-in-out; } .myuihub-button:before { bottom: 0; left: 0; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #2E2254; } .myuihub-button:after { top: 0; right: 0; border-color: rgba(0, 0, 0, 0) #2E2254 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); } .myuihub-button span:before { bottom: 0; right: 0; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #2E2254; } .myuihub-button span:after { top: 0; left: 0; border-color: #2E2254 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); } .myuihub-button:hover:before { border-width: 250px 0 0 250px; } .myuihub-button:hover:after { border-width: 0 250px 250px 0; } .myuihub-button:hover span:before { border-width: 0 0 250px 250px; } .myuihub-button:hover span:after { border-width: 250px 250px 0 0; } .myuihub-button:hover { color: #fff; border-color: #2E2254; }
Button 42
<button class="myuihub-button">continue</button>
.myuihub-button { display: inline-block; padding: 8px 20px; border-radius: 0; overflow: hidden; text-transform: capitalize; position: relative; border: 2px solid #d6e315; color: #000000; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; background-color: transparent; transition: all 0.3s ease; } .myuihub-button::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) skewX(40deg); width: 0%; height: 100%; background-color: #d6e315; z-index: -1; transition: all 0.3s ease; } .myuihub-button:hover::before { width: 100%; }
Button 43
<button class="myuihub-button">get in touch</button>
.myuihub-button { display: inline-block; padding: 10px 20px; border-radius: 0; text-transform: capitalize; position: relative; border: 3px solid #cd0e43; color: #cd0e43; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; background-color: transparent; } .myuihub-button:before { content: ""; position: absolute; top: 50%; left: 50%; width: 0; height: 103%; background-color: #cd0e43; opacity: 0; transform: translateX(-50%) translateY(-50%); transition: all 0.3s ease 0s; z-index: -1; } .myuihub-button:hover:before { width: 95%; opacity: 1; } .myuihub-button:hover { color: #fff; }
Button 44
<button class="myuihub-button">read more</button>
.myuihub-button { display: inline-block; padding: 8px 20px; border-radius: 5px; text-transform: capitalize; position: relative; border: 3px solid #0e83cd; color: #0e83cd; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 500; background-color: transparent; } .myuihub-button:hover { color: #fff; } .myuihub-button:before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: -1; transition: all 0.4s ease 0s; } .myuihub-button:hover:before { height: 100%; background-color: #0e83cd; }
Button 45
<button class="myuihub-button"> <span>hover me</span> </button>
.myuihub-button { display: inline-block; padding: 10px 25px; text-transform: capitalize; position: relative; border-radius: 10px; overflow: hidden; border: 1px solid #BC4330; color: #fff; text-decoration: none; background-color: #BC4330; font-size: 16px; line-height: 24px; font-weight: 500; transition: all 0.7s ease 0s; } .myuihub-button:before, .myuihub-button:after { content: ""; width: 0; height: 0; position: absolute; border-style: solid; border-width: 0; z-index: 0; transition: all 0.7s ease 0s; } .myuihub-button:before { bottom: 0; left: 0; border-color: rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) #4D2420; } .myuihub-button:after { top: 0; right: 0; border-color: rgba(0, 0, 0, 0) #4D2420 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); } .myuihub-button:hover:before, .myuihub-button:hover:after { border-width: 60px 250px; } .myuihub-button:hover { color: #fff; border-color: #4D2420; } .myuihub-button span { position: relative; z-index: 1; }
Button 46
<button class="myuihub-button"> hover me <span class="myuihub-box"></span> </button>
.myuihub-button { display: inline-block; padding: 10px 25px; border-radius: 0; text-transform: capitalize; position: relative; border: 1px solid #00756c; color: #00756c; text-decoration: none; background-color: transparent; font-size: 16px; line-height: 24px; transition: all 0.5s ease 0s; } .myuihub-button::before, .myuihub-button::after, .myuihub-box::before, .myuihub-box::after { content: ""; display: block; position: absolute; z-index: -1; width: 0; height: 0; transition: all 0.5s ease 0s; } .myuihub-button::before { top: 0; left: 0; } .myuihub-button::after { bottom: 0; left: 0; } .myuihub-box::before { top: 0; right: 0; } .myuihub-box::after { bottom: 0; right: 0; } .myuihub-button:hover { color: #fff; } .myuihub-button:hover::before, .myuihub-button:hover::after, .myuihub-button:hover .myuihub-box::before, .myuihub-button:hover .myuihub-box::after { background-color: #00756c; width: 100%; height: 100%; }
Button 47
<button class="myuihub-button"> <span>button</span> </button>
.myuihub-button { display: inline-block; padding: 10px 25px; text-transform: capitalize; position: relative; border: 1px solid #580141; color: #580141; text-decoration: none; background-color: #ffebfa; font-size: 16px; line-height: 24px; transition: all 0.6s linear; } .myuihub-button::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 0; z-index: -1; transition: all 0.6s ease 0s; } .myuihub-button::after { content: ""; position: absolute; bottom: 0; right: 0; width: 100%; height: 0; z-index: -1; transition: all 0.6s ease 0s; } .myuihub-button:hover { color: #fff; background-color: transparent; } .myuihub-button:hover::before, .myuihub-button:hover::after { background-color: #580141; height: 50%; } .myuihub-button span { position: relative; z-index: 1; }
Button 48
<button class="myuihub-button"> <span>button</span> </button>
.myuihub-button { background-color: #081090; border-radius: 15px; border: none; display: inline-block; letter-spacing: 1px; color: #FFFFFF; font-size: 16px; line-height: 19px; font-weight: 700; text-transform: capitalize; padding: 15px 30px; position: relative; overflow: hidden; transition: all 300ms ease-in-out; } .myuihub-button::before { content: ""; position: absolute; left: -30%; top: 20%; width: 20px; height: 300%; background-color: #ffffff; transform: translateY(-50%) rotate(30deg); transition: all 300ms ease-in-out; } .myuihub-button:hover { background-color: #10ac84; text-shadow: 0 0 3px #333; box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.2); color: #ffffff; } .myuihub-button:hover::before { left: 130%; }
Button 49
<button type="button" class="myuihub-button"> <span>button</span> </button>
.myuihub-button { display: inline-block; padding: 15px 40px; background-color: #7A5B91; border: none; border-radius: 100px; font-size: 18px; line-height: 24px; color: #FFFFFF; text-transform: capitalize; overflow: hidden; position: relative; } .myuihub-button:hover { color: #fff; } .myuihub-button::before { content: ""; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0); background-color: #381836; width: 100%; height: 100%; border-radius: 100px; transition: all 300ms ease-in-out; } .myuihub-button:hover::before { transform: translate(-50%, -50%) scale(1); } .myuihub-button span { position: relative; }
Button 50
<button class="myuihub-button"> <div class="myuihub-svg"> <svg height="24" width="24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0h24v24H0z" fill="none"></path> <path d="M1.946 9.315c-.522-.174-.527-.455.01-.634l19.087-6.362c.529-.176.832.12.684.638l-5.454 19.086c-.15.529-.455.547-.679.045L12 14l6-8-8 6-8.054-2.685z" fill="currentColor"></path> </svg> </div> <span>send</span> </button>
.myuihub-button { font-size: 18px; line-height: 24px; background: #a52a2a; color: #FFFFFF; padding: 15px 25px; display: inline-flex; align-items: center; justify-content: flex-start; border: none; border-radius: 15px; overflow: hidden; gap: 8px; text-transform: capitalize; transition: all 0.2s ease-in-out; } .myuihub-button span { display: block; line-height: 20px; white-space: nowrap; transition: all 0.3s ease-in-out; } .myuihub-button .myuihub-svg { flex-shrink: 1; display: flex; justify-content: center; transition: all 0.3s; } .myuihub-button:hover .myuihub-svg { animation: svgfly 0.6s ease-in-out infinite alternate; flex-shrink: 0; width: 100%; } .myuihub-button .myuihub-svg svg { width: 20px; height: 20px; display: block; transform-origin: center center; transition: transform 0.3s ease-in-out; } .myuihub-button:hover .myuihub-svg svg { transform: rotate(45deg) scale(1.1); } .myuihub-button:hover span { transform: translateX(180%); } .myuihub-button:active { transform: scale(0.95); } @keyframes svgfly { from { transform: translateY(0.1em); } to { transform: translateY(-0.1em); } }