
Can anyone help me? How to add a blob hover effects in my button? I use DAWN Theme! I created a custom button using custom-liquid. And Its totally Good for me I just only want to add BLOB HOVER EFFECT when the cursor put in the button. I also attach some image! The Blob effects in the button is what I really want! Here is my custom-liquid code:
➔
?
From my research this is the code for the blob button! But I dont like the button since I already the hover effects only what I want.
*, *:before, *:after{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background: #FFFFFF;
font-family: 'Roboto', sans-serif;
}
.blob-btn{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%)
padding: 20px 46px;
margin-bottom: 30px;
text-alig: center;
text-transfor: none;
color: #FFFFFF;
font-size: 16px;
font-weight: bold;
background-color: transparent;
outline: none;
border: none;
transition: color 0.5s;
cursor: pointer;
border-radius: 0px;
z-index: 1;
}
.blob-btn:before;{
content: "";
z-index: 1;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border: 2px solid #FFFFFF;
border-radius: 0px;
}
.blob-btn:after{
content: "";
z-index: -2;
position: absolute;
left: 3px;
top: 3px;
width: 100%;
height: 100%
transition: all 0.3s 0.2s;
border-radius: 0px;
}
.blob-btn:hover{
color: #F9A392;
border-radius: 0px;
}
.blob-btn:hover:after{
transition: all 0.3s;
left: 0;
top: 0;
border-radius: 0px;
}
.blob-btn_inner{
z-index: 1;
overflow: hidden;
position: absolute;
left: 0;
top: 0;
width: 100%;
height: 100%;
border-radius: 0px;
background: #FFFFFF;
}
.blob-btn_blobs{
position: relative;
display: block;
height: 100%;
}
.blob-btn_blob{
position: absolute;
top: 2px;
width: 25%;
height: 100%;
background: #F9A392;
border-radius: 100%;
transform: translate3d(0, 150%, 0) scale(1.7);
transition: transform 0.45s;
}
.blob-btn_blob:nth-child(1){
left: 0%;
transition-delay: 0s;
}
.blob-btn_blob:nth-child(2){
left: 30%;
transition-delay: 0.08s;
}
.blob-btn_blob:nth-child(3){
left: 60%;
transition-delay: 0.16s;
}
.blob-btn_blob:nth-child(4){
left: 90%;
transition-delay: 0,24s;
}
.blob-btn:hover .blob-btn_blob{
transform: translateZ(0) scale(1.7);
}
THANK YOU IN ADVANCE ![]()
