fix: move css for gradient
This commit is contained in:
parent
c61023ab6d
commit
d62ce39791
|
@ -1,13 +1,3 @@
|
|||
.gradient-wrapper .image-container::after {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: -1%;
|
||||
width: 50%;
|
||||
height: 100%;
|
||||
background: linear-gradient(to right, rgba(255, 255, 255, 1) 25%, rgba(255, 255, 255, 0.0));
|
||||
}
|
||||
.gradient-wrapper .image-container .background-img {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
|
@ -15,3 +5,14 @@
|
|||
height: 230%;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.gradient-wrapper:after {
|
||||
display: block;
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background: linear-gradient(to bottom, rgba(113, 64, 253, 0.075) 15%, rgba(255,255,255,0) 50%);
|
||||
}
|
Loading…
Reference in New Issue