Place: Add photo Transition In, Add Illustration system, Visual fixes

- Add a transition in on each photo component (scale down + fade in), TODO: Parallax on number
- Illustration takes two images and changes the source depending on the viewport size
This commit is contained in:
2020-03-10 21:25:48 +01:00
parent eb529b196e
commit debd9a41c1
6 changed files with 120 additions and 31 deletions

View File

@@ -1,6 +1,7 @@
.photos {
position: relative;
margin-top: -22px;
overflow-x: hidden;
background-color: #fff;
@include breakpoint (sm) {
@@ -107,7 +108,6 @@
// Number
&__number {
@include breakpoint (sm) {
transform: translate(-50%, var(--translate));
will-change: transform;
}
}