Skip to content
This repository has been archived by the owner on Sep 22, 2023. It is now read-only.

Commit

Permalink
Edit_Transitions
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitfart committed Aug 3, 2022
1 parent d1cad15 commit 9453aa6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
margin: 0 25px;

transform: translateY(25px);
transition: .1s;
transition: .15s;
cursor: pointer;
}
.header__logo:hover,
Expand All @@ -41,7 +41,7 @@
font-weight: 700;
text-transform: uppercase;

transition: .1s;
transition: .15s;
}

.header__title:after,
Expand Down
6 changes: 2 additions & 4 deletions Css/link-detail.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

position: relative;
transform: translateY(25%);
transition: .1s;

cursor: pointer;
}
Expand All @@ -19,20 +18,19 @@

.link-detail:hover .link-detail__icon {
Rotate: 90deg;
transform: translate(0,50%);
}
.link-detail__icon {
background-color: var(--bg);

width: 2px;
height: 2px;


position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
transform-origin: 0 0;
transition: .1s;
transition: .15s;
}

.link-detail__icon:before,
Expand Down
2 changes: 1 addition & 1 deletion Css/menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
left: 0;
bottom: 12px;

transition: .1s;
transition: .2s;
}
4 changes: 2 additions & 2 deletions Css/slider.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

position: relative;

transition: .1s;
transition: .15s;
z-index: 1;
}

Expand Down Expand Up @@ -79,7 +79,7 @@
position: absolute;
background-size: cover;

transition: .1s;
transition: .3s;

top: -100%;
}
Expand Down

0 comments on commit 9453aa6

Please sign in to comment.