Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Vital-Vuillaume authored Sep 23, 2023
1 parent f68e7b7 commit 603e8fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions My-Website.css
Original file line number Diff line number Diff line change
Expand Up @@ -536,6 +536,12 @@ body.active ::-moz-placeholder {

}

.nav.input {

display: none;

}

.ligne {

display: none
Expand Down
4 changes: 2 additions & 2 deletions My-Website.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,11 +173,11 @@ function clearResults() {

if (window.innerWidth <= 425) {
Recherche.addEventListener('focus', function() {
nav.style.display = 'none';
nav.classList.add('input');
});

Recherche.addEventListener('blur', function() {
nav.style.display = 'flex';
nav.classList.remove('input');
});
}

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<div id="section2" class="section2">
<p class="titre">Mes projets</p>
<div class="containerRecherche">
<input class="recherche" type="text" placeholder="Rechercher un projet...">
<input class="recherche" type="text" placeholder="Rechercher un projet..." autocomplete="off">
<div class="resultats"></div>
<div class="txtRecherche">
<div class="imgRecherche"></div>
Expand Down

0 comments on commit 603e8fe

Please sign in to comment.