Skip to content

Commit

Permalink
fix: home-footage.scss again
Browse files Browse the repository at this point in the history
  • Loading branch information
reuixiy committed Feb 17, 2024
1 parent 382381c commit 9f3f769
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions assets/scss/pages/_home-footage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
width: 8em;
height: 8em;
border-radius: 50%;
transition: transform 1.5s ease-out;
transition: transform 1s ease-out;
&:hover {
transform: rotateZ(360deg);
}
Expand Down Expand Up @@ -77,15 +77,13 @@
}
}
video {
position: fixed;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: 2;
transform: translateX(-50%) translateY(-50%);
}
@media only screen and (max-device-width: 1024px) {
#bgvid {
Expand Down

0 comments on commit 9f3f769

Please sign in to comment.