Adjust About page photos parallax values
This commit is contained in:
@@ -111,9 +111,9 @@
|
||||
*/
|
||||
// First photo
|
||||
scroll(animate(photoFirstEl.querySelector('figure'), {
|
||||
y: ['-5%', '5%'],
|
||||
x: [0, '-3%'],
|
||||
rotate: [-3, 0],
|
||||
y: ['-3%', '6%'],
|
||||
x: [0, '-4%'],
|
||||
rotate: [-1.5, 0],
|
||||
z: 0,
|
||||
}), {
|
||||
target: photoFirstEl,
|
||||
@@ -121,8 +121,8 @@
|
||||
})
|
||||
// Portrait photo
|
||||
scroll(animate(photoUsEl.querySelector('figure'), {
|
||||
y: [0, '5%'],
|
||||
x: [0, '-2%'],
|
||||
y: [0, '-6%'],
|
||||
x: [0, '-3%'],
|
||||
rotate: [-2, 0],
|
||||
z: 0,
|
||||
}), {
|
||||
|
||||
Reference in New Issue
Block a user