open in white replaced

This commit is contained in:
Tykayn 2023-07-03 21:05:35 +02:00 committed by tykayn
parent 57e90f4289
commit 46d9492c2f
2 changed files with 23 additions and 13 deletions

View File

@ -14475,6 +14475,9 @@ responsive land
} }
} }
h2, section div{ /**
border: solid 2px red; debug
} */
/*h2, section div{*/
/* border: solid 2px red;*/
/*}*/

View File

@ -190,7 +190,7 @@ if (enable_animations) {
}, },
{ {
opacity: 1, opacity: 1,
scale: 0.6, scale: 0.9,
ease: 'easeInOut', ease: 'easeInOut',
scrollTrigger: { scrollTrigger: {
trigger: '#content', trigger: '#content',
@ -211,7 +211,7 @@ if (enable_animations) {
top: -50, top: -50,
opacity: 1, opacity: 1,
duration: 2, duration: 2,
scale: 0.9, scale: 1.5,
ease: 'spline', ease: 'spline',
scrollTrigger: { scrollTrigger: {
trigger: '#content', trigger: '#content',
@ -237,22 +237,29 @@ if (enable_animations) {
} }
}) })
gsap.fromTo('#unlock, #unlock_white', gsap.fromTo('#unlock',
{
marginTop: "0",
},
{
marginTop: "-4px",
ease: 'spline',
scrollTrigger: {
trigger: '#open-handle',
markers: development_debug,
}
})
gsap.fromTo('#unlock_white',
{ {
opacity: 0.5, opacity: 0.5,
scale: 1,
bottom: '-100vh',
height: '10rem',
}, },
{ {
opacity: 1, opacity: 1,
bottom: '50vh',
scale: 1.5,
ease: 'spline', ease: 'spline',
height: '15rem',
scrollTrigger: { scrollTrigger: {
trigger: '#open-handle', trigger: '#open-handle',
scrub: 2,
markers: development_debug, markers: development_debug,
} }
}) })