Clip label shine to text bounds (no more eyebrows)
This commit is contained in:
@@ -123,6 +123,7 @@
|
||||
color: #ffe699;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.card .form-label::before {
|
||||
@@ -131,11 +132,11 @@
|
||||
top: 0;
|
||||
left: -100%;
|
||||
width: 60%;
|
||||
height: 40%;
|
||||
height: 45%;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
transparent 0%,
|
||||
rgba(255, 255, 240, 0.7) 50%,
|
||||
rgba(255, 255, 255, 0.4) 50%,
|
||||
transparent 100%
|
||||
);
|
||||
animation: top-shine 4s ease-in-out infinite;
|
||||
|
||||
Reference in New Issue
Block a user