-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dfe3f7d
commit 8fa69e5
Showing
12 changed files
with
151 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,93 @@ | ||
:host { | ||
.picture { | ||
background-position: center; | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-color: rgba(11, 11, 11, 1); | ||
width: 100%; | ||
height: 100%; | ||
position: absolute; | ||
z-index: 0; | ||
cursor: zoom-in; | ||
|
||
&.zoom { | ||
background-size: cover; | ||
cursor: zoom-out; | ||
} | ||
.image-container { | ||
background-position: center; | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
background-color: rgba(11, 11, 11, 1); | ||
width: 100%; | ||
height: 100%; | ||
position: absolute; | ||
z-index: 0; | ||
cursor: zoom-in; | ||
|
||
&.zoom { | ||
background-size: cover; | ||
cursor: zoom-out; | ||
} | ||
|
||
|
||
// opacity: 0; | ||
// transition: opacity 0.5s; | ||
} | ||
|
||
// .fade-in { | ||
// opacity: 1; | ||
// } | ||
|
||
.fade-in { | ||
animation: fadeIn ease 0.75s; | ||
// animation: fadeIn ease 0.75s; | ||
animation-name: fade-in; | ||
animation-timing-function: ease-in; | ||
// animation-iteration-count: infinite; | ||
animation-duration: 0.5s; | ||
} | ||
@keyframes fadeIn { | ||
0% { | ||
opacity: 0; | ||
} | ||
100% { | ||
opacity: 1; | ||
} | ||
|
||
|
||
@keyframes fade-in { | ||
0% { | ||
opacity: 0; | ||
} | ||
25% { | ||
opacity: 0.25; | ||
} | ||
75% { | ||
opacity: 0.75; | ||
} | ||
100% { | ||
opacity: 1; | ||
} | ||
} | ||
|
||
.fade-out { | ||
animation: fadeOut ease 0.75s; | ||
// animation: fadeIn ease 0.75s; | ||
animation-name: fade-out; | ||
animation-timing-function: ease-out; | ||
// animation-iteration-count: infinite; | ||
animation-duration: 0.5s; | ||
} | ||
@keyframes fadeOut { | ||
0% { | ||
opacity: 1; | ||
} | ||
100% { | ||
opacity: 0; | ||
} | ||
|
||
|
||
@keyframes fade-out { | ||
0% { | ||
opacity: 1; | ||
} | ||
25% { | ||
opacity: 0.75; | ||
} | ||
75% { | ||
opacity: 0.25; | ||
} | ||
100% { | ||
opacity: 0; | ||
} | ||
} | ||
|
||
// @keyframes fadeIn { | ||
// 0% { | ||
// opacity: 0; | ||
// } | ||
// 100% { | ||
// opacity: 1; | ||
// } | ||
// } | ||
|
||
// .fade-out { | ||
// animation: fadeOut ease 2.75s; | ||
// } | ||
// @keyframes fadeOut { | ||
// 0% { | ||
// opacity: 1; | ||
// } | ||
// 100% { | ||
// opacity: 0; | ||
// } | ||
// } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters