<!-- From uibox.ir -->
<but1ton class="animated-but1ton">
<svg viewBox="0 0 24 24" class="arr-2" xmlns="http://www.w3.org/2000/svg">
<path
d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"
></path>
</svg>
<span class="text">Modern But1ton</span>
<span class="circle"></span>
<svg viewBox="0 0 24 24" class="arr-1" xmlns="http://www.w3.org/2000/svg">
<path
d="M16.1716 10.9999L10.8076 5.63589L12.2218 4.22168L20 11.9999L12.2218 19.778L10.8076 18.3638L16.1716 12.9999H4V10.9999H16.1716Z"
></path>
</svg>
</but1ton>
/* From uibox.ir */
.animated-but1ton {
position: relative;
display: flex;
align-items: center;
gap: 4px;
padding: 16px 36px;
border: 4px solid;
border-color: transparent;
font-size: 16px;
background-color: inherit;
border-radius: 100px;
font-weight: 600;
color: greenyellow;
box-shadow: 0 0 0 2px greenyellow;
cursor: pointer;
overflow: hidden;
transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-but1ton svg {
position: absolute;
width: 24px;
fill: greenyellow;
z-index: 9;
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-but1ton .arr-1 {
right: 16px;
}
.animated-but1ton .arr-2 {
left: -25%;
}
.animated-but1ton .circle {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 20px;
height: 20px;
background-color: greenyellow;
border-radius: 50%;
opacity: 0;
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-but1ton .text {
position: relative;
z-index: 1;
transform: translateX(-12px);
transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.animated-but1ton:hover {
box-shadow: 0 0 0 12px transparent;
color: #212121;
border-radius: 12px;
}
.animated-but1ton:hover .arr-1 {
right: -25%;
}
.animated-but1ton:hover .arr-2 {
left: 16px;
}
.animated-but1ton:hover .text {
transform: translateX(12px);
}
.animated-but1ton:hover svg {
fill: #212121;
}
.animated-but1ton:active {
scale: 0.95;
box-shadow: 0 0 0 4px greenyellow;
}
.animated-but1ton:hover .circle {
width: 220px;
height: 220px;
opacity: 1;
}
<!-- From uibox.ir by AlirezaBorhani-->
<button class="button">
<div class="dots_border"></div>
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
class="sparkle"
>
<path
class="path"
stroke-linejoin="round"
stroke-linecap="round"
stroke="black"
fill="black"
d="M14.187 8.096L15 5.25L15.813 8.096C16.0231 8.83114 16.4171 9.50062 16.9577 10.0413C17.4984 10.5819 18.1679 10.9759 18.903 11.186L21.75 12L18.904 12.813C18.1689 13.0231 17.4994 13.4171 16.9587 13.9577C16.4181 14.4984 16.0241 15.1679 15.814 15.903L15 18.75L14.187 15.904C13.9769 15.1689 13.5829 14.4994 13.0423 13.9587C12.5016 13.4181 11.8321 13.0241 11.097 12.814L8.25 12L11.096 11.187C11.8311 10.9769 12.5006 10.5829 13.0413 10.0423C13.5819 9.50162 13.9759 8.83214 14.186 8.097L14.187 8.096Z"
></path>
<path
class="path"
stroke-linejoin="round"
stroke-linecap="round"
stroke="black"
fill="black"
d="M6 14.25L5.741 15.285C5.59267 15.8785 5.28579 16.4206 4.85319 16.8532C4.42059 17.2858 3.87853 17.5927 3.285 17.741L2.25 18L3.285 18.259C3.87853 18.4073 4.42059 18.7142 4.85319 19.1468C5.28579 19.5794 5.59267 20.1215 5.741 20.715L6 21.75L6.259 20.715C6.40725 20.1216 6.71398 19.5796 7.14639 19.147C7.5788 18.7144 8.12065 18.4075 8.714 18.259L9.75 18L8.714 17.741C8.12065 17.5925 7.5788 17.2856 7.14639 16.853C6.71398 16.4204 6.40725 15.8784 6.259 15.285L6 14.25Z"
></path>
<path
class="path"
stroke-linejoin="round"
stroke-linecap="round"
stroke="black"
fill="black"
d="M6.5 4L6.303 4.5915C6.24777 4.75718 6.15472 4.90774 6.03123 5.03123C5.90774 5.15472 5.75718 5.24777 5.5915 5.303L5 5.5L5.5915 5.697C5.75718 5.75223 5.90774 5.84528 6.03123 5.96877C6.15472 6.09226 6.24777 6.24282 6.303 6.4085L6.5 7L6.697 6.4085C6.75223 6.24282 6.84528 6.09226 6.96877 5.96877C7.09226 5.84528 7.24282 5.75223 7.4085 5.697L8 5.5L7.4085 5.303C7.24282 5.24777 7.09226 5.15472 6.96877 5.03123C6.84528 4.90774 6.75223 4.75718 6.697 4.5915L6.5 4Z"
></path>
</svg>
<span class="text_button">Generate Site</span>
</button>
/* From uibox.ir by Alirezaborhani*/
.button {
--black-700: hsla(0 0% 12% / 1);
--border_radius: 9999px;
--transtion: 0.3s ease-in-out;
--offset: 2px;
cursor: pointer;
position: relative;
display: flex;
align-items: center;
gap: 0.5rem;
transform-origin: center;
padding: 1rem 2rem;
background-color: transparent;
border: none;
border-radius: var(--border_radius);
transform: scale(calc(1 + (var(--active, 0) * 0.1)));
transition: transform var(--transtion);
}
.button::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background-color: var(--black-700);
border-radius: var(--border_radius);
box-shadow: inset 0 0.5px hsl(0, 0%, 100%), inset 0 -1px 2px 0 hsl(0, 0%, 0%),
0px 4px 10px -4px hsla(0 0% 0% / calc(1 - var(--active, 0))),
0 0 0 calc(var(--active, 0) * 0.375rem) hsl(260 97% 50% / 0.75);
transition: all var(--transtion);
z-index: 0;
}
.button::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
background-color: hsla(260 97% 61% / 0.75);
background-image: radial-gradient(
at 51% 89%,
hsla(266, 45%, 74%, 1) 0px,
transparent 50%
),
radial-gradient(at 100% 100%, hsla(266, 36%, 60%, 1) 0px, transparent 50%),
radial-gradient(at 22% 91%, hsla(266, 36%, 60%, 1) 0px, transparent 50%);
background-position: top;
opacity: var(--active, 0);
border-radius: var(--border_radius);
transition: opacity var(--transtion);
z-index: 2;
}
.button:is(:hover, :focus-visible) {
--active: 1;
}
.button:active {
transform: scale(1);
}
.button .dots_border {
--size_border: calc(100% + 2px);
overflow: hidden;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: var(--size_border);
height: var(--size_border);
background-color: transparent;
border-radius: var(--border_radius);
z-index: -10;
}
.button .dots_border::before {
content: "";
position: absolute;
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
transform-origin: left;
transform: rotate(0deg);
width: 100%;
height: 2rem;
background-color: white;
mask: linear-gradient(transparent 0%, white 120%);
animation: rotate 2s linear infinite;
}
@keyframes rotate {
to {
transform: rotate(360deg);
}
}
.button .sparkle {
position: relative;
z-index: 10;
width: 1.75rem;
}
.button .sparkle .path {
fill: currentColor;
stroke: currentColor;
transform-origin: center;
color: hsl(0, 0%, 100%);
}
.button:is(:hover, :focus) .sparkle .path {
animation: path 1.5s linear 0.5s infinite;
}
.button .sparkle .path:nth-child(1) {
--scale_path_1: 1.2;
}
.button .sparkle .path:nth-child(2) {
--scale_path_2: 1.2;
}
.button .sparkle .path:nth-child(3) {
--scale_path_3: 1.2;
}
@keyframes path {
0%,
34%,
71%,
100% {
transform: scale(1);
}
17% {
transform: scale(var(--scale_path_1, 1));
}
49% {
transform: scale(var(--scale_path_2, 1));
}
83% {
transform: scale(var(--scale_path_3, 1));
}
}
.button .text_button {
position: relative;
z-index: 10;
background-image: linear-gradient(
90deg,
hsla(0 0% 100% / 1) 0%,
hsla(0 0% 100% / var(--active, 0)) 120%
);
background-clip: text;
font-size: 1rem;
color: transparent;
}
<!-- From Uiverse.io by vinodjangid07 --> <buton class="buton"> <svg class="svgIcon" viewBox="0 0 512 512" height="1em" xmlns="http://www.w3.org/2000/svg"><path d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm50.7-186.9L162.4 380.6c-19.4 7.5-38.5-11.6-31-31l55.5-144.3c3.3-8.5 9.9-15.1 18.4-18.4l144.3-55.5c19.4-7.5 38.5 11.6 31 31L325.1 306.7c-3.2 8.5-9.9 15.1-18.4 18.4zM288 256a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"></path></svg> Explore </buton>
/* From Uiverse.io by vinodjangid07 */
.buton {
width: 110px;
height: 40px;
display: flex;
align-items: center;
justify-content: flex-start;
gap: 10px;
background-color: rgb(161, 255, 20);
border-radius: 30px;
color: rgb(19, 19, 19);
font-weight: 600;
border: none;
position: relative;
cursor: pointer;
transition-duration: .2s;
box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.116);
padding-left: 8px;
transition-duration: .5s;
}
.svgIcon {
height: 25px;
transition-duration: 1.5s;
}
.bell path {
fill: rgb(19, 19, 19);
}
.buton:hover {
background-color: rgb(192, 255, 20);
transition-duration: .5s;
}
.buton:active {
transform: scale(0.97);
transition-duration: .2s;
}
.buton:hover .svgIcon {
transform: rotate(250deg);
transition-duration: 1.5s;
}
<!-- From uibox.ir -->
<btton>
<div class="svg-wrapper-1">
<div class="svg-wrapper">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24"
width="30"
height="30"
class="icon"
>
<path
d="M22,15.04C22,17.23 20.24,19 18.07,19H5.93C3.76,19 2,17.23 2,15.04C2,13.07 3.43,11.44 5.31,11.14C5.28,11 5.27,10.86 5.27,10.71C5.27,9.33 6.38,8.2 7.76,8.2C8.37,8.2 8.94,8.43 9.37,8.8C10.14,7.05 11.13,5.44 13.91,5.44C17.28,5.44 18.87,8.06 18.87,10.83C18.87,10.94 18.87,11.06 18.86,11.17C20.65,11.54 22,13.13 22,15.04Z"
></path>
</svg>
</div>
</div>
<span>Save</span>
</btton>
/* From uibox.ir */
btton {
font-family: inherit;
font-size: 20px;
background: #212121;
color: white;
fill: rgb(155, 153, 153);
padding: 0.7em 1em;
padding-left: 0.9em;
display: flex;
align-items: center;
cursor: pointer;
border: none;
border-radius: 15px;
font-weight: 1000;
}
btton span {
display: block;
margin-left: 0.3em;
transition: all 0.3s ease-in-out;
}
btton svg {
display: block;
transform-origin: center center;
transition: transform 0.3s ease-in-out;
}
btton:hover {
background: #000;
}
btton:hover .svg-wrapper {
transform: scale(1.25);
transition: 0.5s linear;
}
btton:hover svg {
transform: translateX(1.2em) scale(1.1);
fill: #fff;
}
btton:hover span {
opacity: 0;
transition: 0.5s linear;
}
btton:active {
transform: scale(0.95);
}
<!-- From uibox.ir -->
<utton>
<div class="default-btn">
<svg class="css-i6dzq1" stroke-linejoin="round" stroke-linecap="round" fill="none" stroke-width="2" stroke="#FFF" height="20" width="20" viewBox="0 0 24 24"><path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z"></path><circle r="3" cy="12" cx="12"></circle></svg>
<span>Quick View</span>
</div>
<div class="hover-btn">
<svg class="css-i6dzq1" stroke-linejoin="round" stroke-linecap="round" fill="none" stroke-width="2" stroke="#ffd300" height="20" width="20" viewBox="0 0 24 24"><circle r="1" cy="21" cx="9"></circle><circle r="1" cy="21" cx="20"></circle><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"></path></svg>
<span>Shop Now</span>
</div>
</utton>/* From uibox.ir */
utton {
position: relative;
overflow: hidden;
outline: none;
cursor: pointer;
border-radius: 50px;
background-color: hsl(255deg 50% 40%);
border: solid 4px hsl(50deg 100% 50%);
font-family: inherit;
}
.default-btn,.hover-btn {
background-color: hsl(255deg 50% 40%);
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
align-items: center;
gap: 15px;
padding: 15px 20px;
border-radius: 50px;
font-size: 17px;
font-weight: 500;
text-transform: uppercase;
transition: all .3s ease;
}
.hover-btn {
position: absolute;
inset: 0;
background-color: hsl(255deg 50% 49%);
transform: translate(0%,100%);
}
.default-btn span {
color: hsl(0, 0%, 100%);
}
.hover-btn span {
color: hsl(50deg 100% 50%);
}
utton:hover .default-btn {
transform: translate(0%,-100%);
}
utton:hover .hover-btn {
transform: translate(0%,0%);
}<!-- From uibox.ir -->
<div class="b1utton-box">
<div class="touch left"></div>
<div class="touch middle"></div>
<div class="touch right"></div>
<div class="b1utton">
<svg
class="icon"
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M446.208 566.72h369.28c-2.944 103.808-39.36 190.72-109.376 260.736s-156.608 106.432-259.904 109.376c-103.808-2.944-190.72-39.36-260.736-109.376s-106.432-156.928-109.376-260.736c2.944-103.232 39.36-189.888 109.376-259.904S342.4 200.448 446.208 197.504v369.216z m383.296-383.232c70.016 70.016 106.432 156.928 109.376 260.736H568.704V74.112c103.872 2.944 190.784 39.36 260.8 109.376z"
data-spm-anchor-id="a313x.search_index.0.i11.7c823a81dxNrAs"
fill="#ffffff"
></path>
</svg>
</div>
<div class="b1utton">
<svg
class="icon"
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M773.907692 992.768h-590.76923c-48.864492 0-88.615385-39.754831-88.615385-88.615385V120.032492c0-48.852677 39.743015-88.615385 88.599631-88.631138l379.076923-0.169354h0.047261c35.233477 0 78.217846 18.699815 102.230646 44.480985l158.0032 169.621661C845.686154 270.245415 862.523077 313.040738 862.523077 347.096615v300.780308c0 27.1872-22.043569 49.230769-49.230769 49.230769s-49.230769-22.043569-49.23077-49.230769V347.096615c0-9.168738-7.388554-27.951262-13.627076-34.650584l-158.011077-169.6256c-5.490215-5.891938-22.122338-13.126892-30.176493-13.126893h-0.003938L192.984615 129.858954V894.306462h571.076923V805.415385c0-27.1872 22.043569-49.230769 49.23077-49.23077s49.230769 22.043569 49.230769 49.23077v98.73723c0 48.864492-39.754831 88.615385-88.615385 88.615385z"
data-spm-anchor-id="a313x.search_index.0.i7.7c823a81dxNrAs"
class="selected"
fill="#ffffff"
></path>
<path
d="M414.802708 753.829415a49.092923 49.092923 0 0 1-34.812062-14.418707l-90.289231-90.285293c-19.223631-19.223631-19.227569-50.396554 0-69.624123 19.223631-19.223631 50.396554-19.223631 69.624123 0l55.47717 55.473231 187.7504-187.746461c19.227569-19.223631 50.396554-19.219692 69.624123 0 19.227569 19.227569 19.227569 50.396554 0 69.624123l-222.562462 222.558523a49.073231 49.073231 0 0 1-34.812061 14.418707z"
data-spm-anchor-id="a313x.search_index.0.i8.7c823a81dxNrAs"
fill="#ffffff"
></path>
</svg>
</div>
<div class="b1utton">
<svg
class="icon"
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M793.6 678.4c29.866667-51.2 81.066667-76.8 132.266667-72.533333 8.533333-29.866667 12.8-64 12.8-98.133334 0-29.866667-4.266667-59.733333-8.533334-85.333333-51.2 8.533333-106.666667-21.333333-136.533333-72.533333-29.866667-51.2-25.6-115.2 8.533333-153.6-46.933333-42.666667-98.133333-72.533333-157.866666-93.866667-17.066667 51.2-68.266667 85.333333-132.266667 85.333333s-110.933333-34.133333-132.266667-85.333333c-59.733333 21.333333-110.933333 55.466667-157.866666 98.133333 34.133333 42.666667 38.4 102.4 8.533333 153.6-29.866667 51.2-85.333333 76.8-136.533333 68.266667-4.266667 29.866667-8.533333 59.733333-8.533334 89.6 0 34.133333 4.266667 64 12.8 93.866667 51.2-4.266667 102.4 21.333333 132.266667 72.533333 25.6 51.2 25.6 106.666667-4.266667 149.333333 46.933333 42.666667 98.133333 72.533333 157.866667 89.6 21.333333-46.933333 68.266667-76.8 128-76.8s106.666667 29.866667 128 76.8c59.733333-17.066667 110.933333-51.2 157.866667-89.6-29.866667-42.666667-34.133333-98.133333-4.266667-149.333333z m-281.6 17.066667c-102.4 0-183.466667-81.066667-183.466667-183.466667S409.6 328.533333 512 328.533333s183.466667 81.066667 183.466667 183.466667-81.066667 183.466667-183.466667 183.466667z"
data-spm-anchor-id="a313x.search_index.0.i0.40a93a81w1AXrL"
fill="#ffffff"
></path>
</svg>
</div>
</div>
/* From uibox.ir */
.b1utton-box {
position: relative;
width: 12rem;
height: 5rem;
display: flex;
}
.b1utton-box .b1utton {
width: 3.2rem;
height: 3.2rem;
position: absolute;
left: 50%;
top: 50%;
cursor: pointer;
border: 3px solid #311703;
border-radius: 5px;
display: flex;
justify-content: center;
align-items: center;
transition: 0.3s;
opacity: 0.85;
box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.4);
}
.b1utton-box .b1utton .icon {
width: 24px;
height: 24px;
opacity: 0.7;
transition: 0.25s;
}
.b1utton-box .b1utton:nth-child(4) {
transform: translate(-50%, -50%) rotate(90deg);
z-index: 30;
background: #ff7f50;
}
.b1utton-box .b1utton:nth-child(5) {
transform: translate(-50%, -50%) rotate(-115deg);
z-index: 40;
background: #ffd700;
}
.b1utton-box .b1utton:nth-child(6) {
transform: translate(-50%, -50%) rotate(-45deg);
z-index: 50;
background: #019b98;
}
.b1utton-box .b1utton:nth-child(6) .icon {
animation: active 2.2s linear infinite;
}
.b1utton-box .touch {
position: relative;
z-index: 60;
height: 100%;
flex: 1;
cursor: pointer;
}
.b1utton-box .touch.left:hover ~ .b1utton:nth-child(4) {
opacity: 1;
transform: translate(-170%, -50%) rotate(-90deg) scale(1.05);
}
.b1utton-box .touch.left:hover ~ .b1utton:nth-child(4) .icon {
width: 25px;
opacity: 0.9;
}
.b1utton-box .touch.left:active ~ .b1utton:nth-child(4) {
transform: translate(-170%, -50%) rotate(-90deg) scale(0.9);
}
.b1utton-box .touch.right:hover ~ .b1utton:nth-child(5) {
opacity: 1;
transform: translate(70%, -50%) rotate(90deg) scale(1.05);
}
.b1utton-box .touch.right:hover ~ .b1utton:nth-child(5) .icon {
width: 25px;
opacity: 0.9;
}
.b1utton-box .touch.right:active ~ .b1utton:nth-child(5) {
transform: translate(70%, -50%) rotate(90deg) scale(0.9);
}
.b1utton-box .touch.middle:hover ~ .b1utton:nth-child(6) {
opacity: 1;
transform: translate(-50%, -50%) rotate(0deg) scale(1.05);
}
.b1utton-box .touch.middle:hover ~ .b1utton:nth-child(6) .icon {
width: 25px;
opacity: 0.9;
}
.b1utton-box .touch.middle:active ~ .b1utton:nth-child(6) {
transform: translate(-50%, -50%) rotate(0deg) scale(0.9);
}
.b1utton-box:hover .b1utton:nth-child(4) {
transform: translate(-170%, -50%) rotate(-90deg);
}
.b1utton-box:hover .b1utton:nth-child(5) {
transform: translate(70%, -50%) rotate(90deg);
}
.b1utton-box:hover .b1utton:nth-child(6) {
transform: translate(-50%, -50%) rotate(0deg);
}
.b1utton-box:hover .b1utton:nth-child(6) .icon {
animation: active 4s linear infinite;
}
@keyframes active {
to {
transform: rotate(360deg);
}
}
<!-- From uibox.ir --> <div class="container-b2utton"> <div class="hover bt-1"></div> <div class="hover bt-2"></div> <div class="hover bt-3"></div> <div class="hover bt-4"></div> <div class="hover bt-5"></div> <div class="hover bt-6"></div> <b2utton></b2utton> </div>
/* From uibox.ir */
.container-b2utton {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
grid-template-rows: 1fr 1fr;
grid-template-areas: "bt-1 bt-2 bt-3"
"bt-4 bt-5 bt-6";
position: relative;
perspective: 800;
padding: 0;
width: 135px;
height: 47px;
transition: all 0.3s ease-in-out;
}
.container-b2utton:active {
transform: scale(0.95);
}
.hover {
position: absolute;
width: 100%;
height: 100%;
z-index: 200;
}
.bt-1 {
grid-area: bt-1;
}
.bt-2 {
grid-area: bt-2;
}
.bt-3 {
grid-area: bt-3;
}
.bt-4 {
grid-area: bt-4;
}
.bt-5 {
grid-area: bt-5;
}
.bt-6 {
grid-area: bt-6;
}
.bt-1:hover ~ b2utton {
transform: rotateX(15deg) rotateY(-15deg) rotateZ(0deg);
box-shadow: -2px -2px #18181888;
}
.bt-1:hover ~ b2utton::after {
animation: shake 0.5s ease-in-out 0.3s;
text-shadow: -2px -2px #18181888;
}
.bt-3:hover ~ b2utton {
transform: rotateX(15deg) rotateY(15deg) rotateZ(0deg);
box-shadow: 2px -2px #18181888;
}
.bt-3:hover ~ b2utton::after {
animation: shake 0.5s ease-in-out 0.3s;
text-shadow: 2px -2px #18181888;
}
.bt-4:hover ~ b2utton {
transform: rotateX(-15deg) rotateY(-15deg) rotateZ(0deg);
box-shadow: -2px 2px #18181888;
}
.bt-4:hover ~ b2utton::after {
animation: shake 0.5s ease-in-out 0.3s;
text-shadow: -2px 2px #18181888;
}
.bt-6:hover ~ b2utton {
transform: rotateX(-15deg) rotateY(15deg) rotateZ(0deg);
box-shadow: 2px 2px #18181888;
}
.bt-6:hover ~ b2utton::after {
animation: shake 0.5s ease-in-out 0.3s;
text-shadow: 2px 2px #18181888;
}
.hover:hover ~ b2utton::before {
background: transparent;
}
.hover:hover ~ b2utton::after {
content: "Click";
top: -150%;
transform: translate(-50%, 0);
font-size: 34px;
color: #f19c2b;
}
b2utton {
position: absolute;
padding: 0;
width: 135px;
height: 47px;
background: transparent;
font-size: 17px;
font-weight: 900;
border: 3px solid #f39923;
border-radius: 12px;
transition: all 0.3s ease-in-out;
}
b2utton::before {
content: "";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 135px;
height: 47px;
background-color: #f5ae51;
border-radius: 12px;
transition: all 0.3s ease-in-out;
z-index: -1;
}
b2utton::after {
content: "Hover";
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 135px;
height: 47px;
background-color: transparent;
font-size: 17px;
font-weight: 900;
line-height: 47px;
color: #ffffff;
border: none;
border-radius: 12px;
transition: all 0.3s ease-in-out;
z-index: 2;
}
@keyframes shake {
0% {
left: 45%;
}
25% {
left: 54%;
}
50% {
left: 48%;
}
75% {
left: 52%;
}
100% {
left: 50%;
}
}<!-- From uibox.ir --> <butto4n> <span> GAME ON </span> </butto4n>
/* From uibox.ir */
butto4n {
position: relative;
height: 50px;
padding: 0 30px;
border: 2px solid #000;
background: #e8e8e8;
user-select: none;
white-space: nowrap;
transition: all .05s linear;
font-family: inherit;
}
butto4n:before, butto4n:after {
content: "";
position: absolute;
background: #e8e8e8;
transition: all .2s linear;
}
butto4n:before {
width: calc(100% + 6px);
height: calc(100% - 16px);
top: 8px;
left: -3px;
}
butto4n:after {
width: calc(100% - 16px);
height: calc(100% + 6px);
top: -3px;
left: 8px;
}
butto4n:hover {
cursor: crosshair;
}
butto4n:active {
transform: scale(0.95);
}
butto4n:hover:before {
height: calc(100% - 32px);
top: 16px;
}
butto4n:hover:after {
width: calc(100% - 32px);
left: 16px;
}
butto4n span {
font-size: 15px;
z-index: 3;
position: relative;
font-weight: 600;
}<!-- From uibox.ir --> <butto5n class="butto5nDownload">Download</butto5n>
/* From uibox.ir */
.butto5nDownload {
display: inline-block;
position: relative;
padding: 10px 25px;
background-color: #4CC713;
color: white;
font-family: sans-serif;
text-decoration: none;
font-size: 0.9em;
text-align: center;
text-indent: 15px;
border: none;
}
.butto5nDownload:hover {
background-color: #45a21a;
color: white;
}
.butto5nDownload:before, .butto5nDownload:after {
content: ' ';
display: block;
position: absolute;
left: 15px;
top: 52%;
}
.butto5nDownload:before {
width: 10px;
height: 2px;
border-style: solid;
border-width: 0 2px 2px;
}
.butto5nDownload:after {
width: 0;
height: 0;
margin-left: 3px;
margin-top: -7px;
border-style: solid;
border-width: 4px 4px 0 4px;
border-color: transparent;
border-top-color: inherit;
animation: downloadArrow 1s linear infinite;
animation-play-state: paused;
}
.butto5nDownload:hover:before {
border-color: #cdefbd;
}
.butto5nDownload:hover:after {
border-top-color: #cdefbd;
animation-play-state: running;
}
@keyframes downloadArrow {
0% {
margin-top: -7px;
opacity: 1;
}
0.001% {
margin-top: -15px;
opacity: 0.4;
}
50% {
opacity: 1;
}
100% {
margin-top: 0;
opacity: 0.4;
}
}S e n d M e s s a g e
S e n t
<!-- From Uiverse.io by marcelodolza -->
<butto6n class="butto6n">
<div class="outline"></div>
<div class="state state--default">
<div class="icon">
<svg
width="1em"
height="1em"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<g style="filter: url(#shadow)">
<path
d="M14.2199 21.63C13.0399 21.63 11.3699 20.8 10.0499 16.83L9.32988 14.67L7.16988 13.95C3.20988 12.63 2.37988 10.96 2.37988 9.78001C2.37988 8.61001 3.20988 6.93001 7.16988 5.60001L15.6599 2.77001C17.7799 2.06001 19.5499 2.27001 20.6399 3.35001C21.7299 4.43001 21.9399 6.21001 21.2299 8.33001L18.3999 16.82C17.0699 20.8 15.3999 21.63 14.2199 21.63ZM7.63988 7.03001C4.85988 7.96001 3.86988 9.06001 3.86988 9.78001C3.86988 10.5 4.85988 11.6 7.63988 12.52L10.1599 13.36C10.3799 13.43 10.5599 13.61 10.6299 13.83L11.4699 16.35C12.3899 19.13 13.4999 20.12 14.2199 20.12C14.9399 20.12 16.0399 19.13 16.9699 16.35L19.7999 7.86001C20.3099 6.32001 20.2199 5.06001 19.5699 4.41001C18.9199 3.76001 17.6599 3.68001 16.1299 4.19001L7.63988 7.03001Z"
fill="currentColor"
></path>
<path
d="M10.11 14.4C9.92005 14.4 9.73005 14.33 9.58005 14.18C9.29005 13.89 9.29005 13.41 9.58005 13.12L13.16 9.53C13.45 9.24 13.93 9.24 14.22 9.53C14.51 9.82 14.51 10.3 14.22 10.59L10.64 14.18C10.5 14.33 10.3 14.4 10.11 14.4Z"
fill="currentColor"
></path>
</g>
<defs>
<filter id="shadow">
<fedropshadow
dx="0"
dy="1"
stdDeviation="0.6"
flood-opacity="0.5"
></fedropshadow>
</filter>
</defs>
</svg>
</div>
<p>
<span style="--i:0">S</span>
<span style="--i:1">e</span>
<span style="--i:2">n</span>
<span style="--i:3">d</span>
<span style="--i:4">M</span>
<span style="--i:5">e</span>
<span style="--i:6">s</span>
<span style="--i:7">s</span>
<span style="--i:8">a</span>
<span style="--i:9">g</span>
<span style="--i:10">e</span>
</p>
</div>
<div class="state state--sent">
<div class="icon">
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
height="1em"
width="1em"
stroke-width="0.5px"
stroke="black"
>
<g style="filter: url(#shadow)">
<path
fill="currentColor"
d="M12 22.75C6.07 22.75 1.25 17.93 1.25 12C1.25 6.07 6.07 1.25 12 1.25C17.93 1.25 22.75 6.07 22.75 12C22.75 17.93 17.93 22.75 12 22.75ZM12 2.75C6.9 2.75 2.75 6.9 2.75 12C2.75 17.1 6.9 21.25 12 21.25C17.1 21.25 21.25 17.1 21.25 12C21.25 6.9 17.1 2.75 12 2.75Z"
></path>
<path
fill="currentColor"
d="M10.5795 15.5801C10.3795 15.5801 10.1895 15.5001 10.0495 15.3601L7.21945 12.5301C6.92945 12.2401 6.92945 11.7601 7.21945 11.4701C7.50945 11.1801 7.98945 11.1801 8.27945 11.4701L10.5795 13.7701L15.7195 8.6301C16.0095 8.3401 16.4895 8.3401 16.7795 8.6301C17.0695 8.9201 17.0695 9.4001 16.7795 9.6901L11.1095 15.3601C10.9695 15.5001 10.7795 15.5801 10.5795 15.5801Z"
></path>
</g>
</svg>
</div>
<p>
<span style="--i:5">S</span>
<span style="--i:6">e</span>
<span style="--i:7">n</span>
<span style="--i:8">t</span>
</p>
</div>
</butto6n>
/* From Uiverse.io by marcelodolza */
.butto6n {
--primary: #ff5569;
--neutral-1: #f7f8f7;
--neutral-2: #e7e7e7;
--radius: 14px;
cursor: pointer;
border-radius: var(--radius);
text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
border: none;
box-shadow: 0 0.5px 0.5px 1px rgba(255, 255, 255, 0.2),
0 10px 20px rgba(0, 0, 0, 0.2), 0 4px 5px 0px rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
justify-content: center;
position: relative;
transition: all 0.3s ease;
min-width: 200px;
padding: 20px;
height: 68px;
font-family: "Galano Grotesque", Poppins, Montserrat, sans-serif;
font-style: normal;
font-size: 18px;
font-weight: 600;
}
.butto6n:hover {
transform: scale(1.02);
box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
0 15px 30px rgba(0, 0, 0, 0.3), 0 10px 3px -3px rgba(0, 0, 0, 0.04);
}
.butto6n:active {
transform: scale(1);
box-shadow: 0 0 1px 2px rgba(255, 255, 255, 0.3),
0 10px 3px -3px rgba(0, 0, 0, 0.2);
}
.butto6n:after {
content: "";
position: absolute;
inset: 0;
border-radius: var(--radius);
border: 2.5px solid transparent;
background: linear-gradient(var(--neutral-1), var(--neutral-2)) padding-box,
linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.45))
border-box;
z-index: 0;
transition: all 0.4s ease;
}
.butto6n:hover::after {
transform: scale(1.05, 1.1);
box-shadow: inset 0 -1px 3px 0 rgba(255, 255, 255, 1);
}
.butto6n::before {
content: "";
inset: 7px 6px 6px 6px;
position: absolute;
background: linear-gradient(to top, var(--neutral-1), var(--neutral-2));
border-radius: 30px;
filter: blur(0.5px);
z-index: 2;
}
.state p {
display: flex;
align-items: center;
justify-content: center;
}
.state .icon {
position: absolute;
left: 0;
top: 0;
bottom: 0;
margin: auto;
transform: scale(1.25);
transition: all 0.3s ease;
display: flex;
align-items: center;
justify-content: center;
}
.state .icon svg {
overflow: visible;
}
/* Outline */
.outline {
position: absolute;
border-radius: inherit;
overflow: hidden;
z-index: 1;
opacity: 0;
transition: opacity 0.4s ease;
inset: -2px -3.5px;
}
.outline::before {
content: "";
position: absolute;
inset: -100%;
background: conic-gradient(
from 180deg,
transparent 60%,
white 80%,
transparent 100%
);
animation: spin 2s linear infinite;
animation-play-state: paused;
}
@keyframes spin {
0% {
transform: rotate(0deg);
}
100% {
transform: rotate(360deg);
}
}
.butto6n:hover .outline {
opacity: 1;
}
.butto6n:hover .outline::before {
animation-play-state: running;
}
/* Letters */
.state p span {
display: block;
opacity: 0;
animation: slideDown 0.8s ease forwards calc(var(--i) * 0.03s);
}
.butto6n:hover p span {
opacity: 1;
animation: wave 0.5s ease forwards calc(var(--i) * 0.02s);
}
.butto6n:focus p span {
opacity: 1;
animation: disapear 0.6s ease forwards calc(var(--i) * 0.03s);
}
@keyframes wave {
30% {
opacity: 1;
transform: translateY(4px) translateX(0) rotate(0);
}
50% {
opacity: 1;
transform: translateY(-3px) translateX(0) rotate(0);
color: var(--primary);
}
100% {
opacity: 1;
transform: translateY(0) translateX(0) rotate(0);
}
}
@keyframes slideDown {
0% {
opacity: 0;
transform: translateY(-20px) translateX(5px) rotate(-90deg);
color: var(--primary);
filter: blur(5px);
}
30% {
opacity: 1;
transform: translateY(4px) translateX(0) rotate(0);
filter: blur(0);
}
50% {
opacity: 1;
transform: translateY(-3px) translateX(0) rotate(0);
}
100% {
opacity: 1;
transform: translateY(0) translateX(0) rotate(0);
}
}
@keyframes disapear {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translateX(5px) translateY(20px);
color: var(--primary);
filter: blur(5px);
}
}
/* Plane */
.state--default .icon svg {
animation: land 0.6s ease forwards;
}
.butto6n:hover .state--default .icon {
transform: rotate(45deg) scale(1.25);
}
.butto6n:focus .state--default svg {
animation: takeOff 0.8s linear forwards;
}
.butto6n:focus .state--default .icon {
transform: rotate(0) scale(1.25);
}
@keyframes takeOff {
0% {
opacity: 1;
}
60% {
opacity: 1;
transform: translateX(70px) rotate(45deg) scale(2);
}
100% {
opacity: 0;
transform: translateX(160px) rotate(45deg) scale(0);
}
}
@keyframes land {
0% {
transform: translateX(-60px) translateY(30px) rotate(-50deg) scale(2);
opacity: 0;
filter: blur(3px);
}
100% {
transform: translateX(0) translateY(0) rotate(0);
opacity: 1;
filter: blur(0);
}
}
/* Contrail */
.state--default .icon:before {
content: "";
position: absolute;
top: 50%;
height: 2px;
width: 0;
left: -5px;
background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.5));
}
.butto6n:focus .state--default .icon:before {
animation: contrail 0.8s linear forwards;
}
@keyframes contrail {
0% {
width: 0;
opacity: 1;
}
8% {
width: 15px;
}
60% {
opacity: 0.7;
width: 80px;
}
100% {
opacity: 0;
width: 160px;
}
}
/* States */
.state {
padding-left: 29px;
z-index: 2;
display: flex;
position: relative;
}
.state--default span:nth-child(4) {
margin-right: 5px;
}
.state--sent {
display: none;
}
.state--sent svg {
transform: scale(1.25);
margin-right: 8px;
}
.butto6n:focus .state--default {
position: absolute;
}
.butto6n:focus .state--sent {
display: flex;
}
.butto6n:focus .state--sent span {
opacity: 0;
animation: slideDown 0.8s ease forwards calc(var(--i) * 0.2s);
}
.butto6n:focus .state--sent .icon svg {
opacity: 0;
animation: appear 1.2s ease forwards 0.8s;
}
@keyframes appear {
0% {
opacity: 0;
transform: scale(4) rotate(-40deg);
color: var(--primary);
filter: blur(4px);
}
30% {
opacity: 1;
transform: scale(0.6);
filter: blur(1px);
}
50% {
opacity: 1;
transform: scale(1.2);
filter: blur(0);
}
100% {
opacity: 1;
transform: scale(1);
}
}
<!-- From uibox.ir -->
<label class="hamburger">
<input type="checkbox">
<svg viewBox="0 0 32 32">
<path class="line line-top-bottom" d="M27 10 13 10C10.8 10 9 8.2 9 6 9 3.5 10.8 2 13 2 15.2 2 17 3.8 17 6L17 26C17 28.2 18.8 30 21 30 23.2 30 25 28.2 25 26 25 23.8 23.2 22 21 22L7 22"></path>
<path class="line" d="M7 16 27 16"></path>
</svg>
</label>/* From uibox.ir */
.hamburger {
cursor: pointer;
}
.hamburger input {
display: none;
}
.hamburger svg {
/* The size of the SVG defines the overall size */
height: 3em;
/* Define the transition for transforming the SVG */
transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line {
fill: none;
stroke: white;
stroke-linecap: round;
stroke-linejoin: round;
stroke-width: 3;
/* Define the transition for transforming the Stroke */
transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line-top-bottom {
stroke-dasharray: 12 63;
}
.hamburger input:checked + svg {
transform: rotate(-45deg);
}
.hamburger input:checked + svg .line-top-bottom {
stroke-dasharray: 20 300;
stroke-dashoffset: -32.42;
}
<!-- From uibox.ir -->
<div class="checkbox-wrapper-46">
<input type="checkbox" id="cbx-46" class="inp-cbx" />
<label for="cbx-46" class="cbx"
><span>
<svg viewBox="0 0 12 10" height="10px" width="12px">
<polyline points="1.5 6 4.5 9 10.5 1"></polyline></svg></span
><span>Checkbox</span>
</label>
</div>
/* From uibox.ir */
.checkbox-wrapper-46 input[type="checkbox"] {
display: none;
visibility: hidden;
}
.checkbox-wrapper-46 .cbx {
margin: auto;
-webkit-user-select: none;
user-select: none;
cursor: pointer;
color: #ffffff;
}
.checkbox-wrapper-46 .cbx span {
display: inline-block;
vertical-align: middle;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-46 .cbx span:first-child {
position: relative;
width: 18px;
height: 18px;
border-radius: 3px;
transform: scale(1);
vertical-align: middle;
border: 1px solid #9098a9;
transition: all 0.2s ease;
}
.checkbox-wrapper-46 .cbx span:first-child svg {
position: absolute;
top: 3px;
left: 2px;
fill: none;
stroke: #ffffff;
stroke-width: 2;
stroke-linecap: round;
stroke-linejoin: round;
stroke-dasharray: 16px;
stroke-dashoffset: 16px;
transition: all 0.3s ease;
transition-delay: 0.1s;
transform: translate3d(0, 0, 0);
}
.checkbox-wrapper-46 .cbx span:first-child:before {
content: "";
width: 100%;
height: 100%;
background: #506eec;
display: block;
transform: scale(0);
opacity: 1;
border-radius: 50%;
}
.checkbox-wrapper-46 .cbx span:last-child {
padding-left: 12px; /* از 8px به 12px تغییر کرد - 4px افزایش */
}
.checkbox-wrapper-46 .cbx:hover span:first-child {
border-color: #506eec;
}
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child {
background: #506eec;
border-color: #506eec;
animation: wave-46 0.4s ease;
}
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child svg {
stroke-dashoffset: 0;
}
.checkbox-wrapper-46 .inp-cbx:checked + .cbx span:first-child:before {
transform: scale(3.5);
opacity: 0;
transition: all 0.6s ease;
}
@keyframes wave-46 {
50% {
transform: scale(0.9);
}
}