Skip to content

Commit

Permalink
Update animation
Browse files Browse the repository at this point in the history
  • Loading branch information
DESKTOP-208QJJK\Yurii committed Apr 11, 2022
1 parent 1686bea commit 1f285df
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
2 changes: 2 additions & 0 deletions assets/scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ function makeBorderYellow() {
document.getElementById('page').style.borderColor = 'yellow';
}

window.onload = changeBackground(3);

document.getElementById('likes').onmouseenter = function () {
likesTexst = this.textContent;
this.innerHTML = '🍎 🍔 ⚽ 🏐 🏀 🦵 🎸 &#128021 🚙 📺';
Expand Down
17 changes: 16 additions & 1 deletion assets/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ input[type="range"] {
width: 110px;
height: 150px;
padding: 0;
margin: 0 50px 0 20px;
margin: 0 50px;
}

.ava-container {
width: 100%;
display: flex;
}

ul > li::before {
Expand Down Expand Up @@ -54,6 +59,10 @@ ul > li::before {
opacity: 1;
}

.relative {
position: relative;
}

.slider::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
Expand All @@ -71,4 +80,10 @@ ul > li::before {
article {
padding: 1rem 3rem;
}
}

@media screen and (max-width: 767px) {
.ava-container {
justify-content: center;
}
}

1 comment on commit 1f285df

@vercel
Copy link

@vercel vercel bot commented on 1f285df Apr 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.