-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: use dvw/dvh for frame * chore: animate only colors * chore: pass --hos to vite for debugging * chore: fix frame height && adjust animation * chore: fix image margins
- Loading branch information
Showing
5 changed files
with
52 additions
and
17 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,7 @@ | |
|
||
.ImgContainer img { | ||
height: 320px; | ||
max-width: calc(100% - 40px); | ||
margin: 0 20px; | ||
} | ||
|
||
|
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,13 +1,34 @@ | ||
.Frame { | ||
position: fixed; | ||
left: 0; | ||
top: 0; | ||
width: 100%; | ||
height: 100%; | ||
box-sizing: border-box; | ||
border: 1px solid #00FFEE; | ||
z-index: 999999; | ||
pointer-events: none; | ||
box-shadow: inset 0px 0px 10px #00FFEE; | ||
transition: all 1s; | ||
} | ||
.Frame.top { | ||
width: 100%; | ||
height: 2px; | ||
top: 0px; | ||
left: 0px; | ||
transition: all 0.5s 0s; | ||
} | ||
.Frame.bottom { | ||
width: 100%; | ||
height: 2px; | ||
bottom: 0px; | ||
left: 0px; | ||
transition: all 0.5s 0.4s; | ||
} | ||
.Frame.left { | ||
width: 2px; | ||
height: 200%; | ||
top: 0px; | ||
left: 0px; | ||
transition: all 0.5s 0.2s; | ||
} | ||
.Frame.right { | ||
width: 2px; | ||
height: 200%; | ||
top: 0px; | ||
right: 0px; | ||
transition: all 0.5s 0.2s; | ||
} |
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 |
---|---|---|
|
@@ -14,9 +14,3 @@ | |
width: 1280px; | ||
max-width: 100%; | ||
} | ||
|
||
@media (max-width: 768px) { | ||
.LogoSection .logo { | ||
max-width: 110%; | ||
} | ||
} |