Skip to content

Commit

Permalink
css
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume committed Oct 6, 2024
1 parent 111e109 commit 71d59fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions text-reverse.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ body {
backdrop-filter: blur(8px);
padding: 35px;
border-radius: 15px;
filter: blur(10px);
transition: 0.7s;

}

Expand Down
2 changes: 2 additions & 0 deletions text-reverse.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ if (window.location.protocol != "https:") {
window.location.protocol="https:";
}

const block = document.querySelector(".block");
const text = document.querySelector(".text");
const input = document.querySelector(".input");
const btn = document.getElementById("btnValider");
Expand Down Expand Up @@ -63,6 +64,7 @@ function newWord() {

popupBtn.addEventListener("click", function() {
popup.style.display = "none";
block.style.filter = "blur(0px)";
newWord();
});

Expand Down

0 comments on commit 71d59fa

Please sign in to comment.