finish portfolio animation without box shadow - related #20
All checks were successful
Deploy / Deploy to Production (push) Successful in 18s
All checks were successful
Deploy / Deploy to Production (push) Successful in 18s
This commit is contained in:
parent
436772502b
commit
4538392003
1 changed files with 5 additions and 5 deletions
|
|
@ -29,7 +29,7 @@
|
|||
|
||||
<div
|
||||
class="gallery-animation gallery-animation--vertical"
|
||||
style="--gallery-duration: {columns[0]?.duration ?? 24}s{backgroundColor ? `; --background-color: ${backgroundColor}` : ''}{backgroundImage ? `; --background-image: url(${backgroundImage})` : ''}"
|
||||
style="--gallery-duration: {columns[0]?.duration ?? 24}s{backgroundColor ? `; --background-color: ${backgroundColor}` : ''}{backgroundImage ? `; --gallery-background-image: url(${backgroundImage})` : ''}"
|
||||
>
|
||||
<div class="gallery-animation__overlay"></div>
|
||||
{#each columns as col}
|
||||
|
|
@ -68,8 +68,8 @@
|
|||
height: 100%;
|
||||
overflow: hidden;
|
||||
background-color: var(--background-color, transparent);
|
||||
background-image: var(--background-image);
|
||||
opacity: .7;
|
||||
background-image: var(--gallery-background-image);
|
||||
opacity: .8;
|
||||
}
|
||||
|
||||
/* Vertical mode (Portfolio) */
|
||||
|
|
@ -105,12 +105,12 @@
|
|||
animation-duration: var(--gallery-duration);
|
||||
}
|
||||
|
||||
/* .gallery-animation__overlay {
|
||||
.gallery-animation__overlay {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
background-color: #000;
|
||||
opacity: .5;
|
||||
} */
|
||||
}
|
||||
|
||||
:global(.gallery-animation__image) {
|
||||
width: 100%;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue