mirror of
https://github.com/DavidHDev/vue-bits.git
synced 2026-03-07 22:49:31 -07:00
Added <ElectricBorder /> Animation
This commit is contained in:
@@ -678,3 +678,111 @@ div:has(> .props-table) {
|
||||
font-size: 3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.eb-demo-card {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 8px;
|
||||
padding: 24px;
|
||||
border-radius: 16px;
|
||||
background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
|
||||
color: #e9f8ff;
|
||||
}
|
||||
|
||||
.eb-demo-badge {
|
||||
align-self: flex-start;
|
||||
font-size: 10px;
|
||||
letter-spacing: 0.08em;
|
||||
text-transform: uppercase;
|
||||
padding: 4px 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.15);
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.eb-demo-title {
|
||||
margin: 0;
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.eb-demo-desc {
|
||||
margin: 0;
|
||||
opacity: 0.7;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.eb-demo-row {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
margin-top: auto;
|
||||
}
|
||||
|
||||
.eb-demo-chip {
|
||||
font-size: 11px;
|
||||
padding: 2px 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(255, 255, 255, 0.06);
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
border: 1px solid rgba(255, 255, 255, 0.08);
|
||||
}
|
||||
|
||||
.eb-demo-cta {
|
||||
margin-top: 6px;
|
||||
align-self: flex-start;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
width: 100%;
|
||||
color: #2e2e2e;
|
||||
background: #fff;
|
||||
border: none;
|
||||
border-radius: 10px;
|
||||
padding: 8px 10px;
|
||||
cursor: pointer;
|
||||
transition:
|
||||
transform 120ms ease,
|
||||
filter 120ms ease,
|
||||
box-shadow 120ms ease;
|
||||
box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
|
||||
}
|
||||
|
||||
.eb-demo-cta:hover {
|
||||
transform: translateY(-1px);
|
||||
filter: brightness(0.98);
|
||||
box-shadow: 0 6px 24px rgba(125, 249, 255, 0.25);
|
||||
}
|
||||
|
||||
.eb-demo-button-wrap {
|
||||
width: 150px;
|
||||
height: 50px;
|
||||
border-radius: 999px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.eb-demo-button {
|
||||
font-size: 16px;
|
||||
line-height: 0;
|
||||
letter-spacing: -0.5px;
|
||||
color: #b0f29e;
|
||||
border: none;
|
||||
border-radius: 999px;
|
||||
padding: 8px 12px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.eb-button-container {
|
||||
transition: 0.3s ease;
|
||||
}
|
||||
|
||||
.eb-button-container:hover {
|
||||
transform: scale(1.1);
|
||||
background-color: rgba(177, 158, 239, 0.1);
|
||||
box-shadow: 0 8px 16px rgba(177, 158, 239, 0.1);
|
||||
transition: 0.3s ease;
|
||||
filter: saturate(1.5);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user