Skip to content
This repository was archived by the owner on Sep 28, 2022. It is now read-only.

Added fillup on hover button (#1647) #1648

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions src/components/hover/_fillup-on-hover.less
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@

.fillUpBtn {
margin: 10px auto;
border: #dae6f2;
position: relative;
border-radius: 10px;
padding: 10px 35px;
font-size: 35px;
&::before {
transition: all 0.85s cubic-bezier(0.68,-0.55,0.265,1.55);
content: '';
height: 100%;
width: 50%;
position: absolute;
left: 0;
top: 0;
border-radius: 5px;
border: #060606;
background: #a2ccf6;
}
/* fillUpBtnText is span class within button */
.fillUpBtnText {
font-family: Georgia, 'Times New Roman', Times, serif;
mix-blend-mode: multiply;
color: #1ba5a5;
}
&:hover {
&::before {
width: 100%;
background: #124e89;
border-radius: 5px;
}
}
}