[WIP] boutons stylisés, a voir pour amélioration, création du dossier javascript
This commit is contained in:
parent
826d4ea2b1
commit
d77df7b3f6
3 changed files with 29 additions and 5 deletions
|
@ -46,11 +46,35 @@ body {
|
|||
}
|
||||
|
||||
#buttons {
|
||||
color: red;
|
||||
display: flex;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-family: 'Special Elite', cursive;
|
||||
border-radius: 20px;
|
||||
background-color: #B0C4DE;
|
||||
height: 3.8vh;
|
||||
}
|
||||
|
||||
.button:hover{
|
||||
animation-name: zslide;
|
||||
animation-duration: 3s;
|
||||
}
|
||||
|
||||
@keyframes zslide {
|
||||
from {
|
||||
font-size: 2vw;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
to {
|
||||
font-size: 6vw;
|
||||
opacity: 0;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
footer {
|
||||
color: green;
|
||||
display: flex;
|
|
@ -3,8 +3,8 @@
|
|||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Document</title>
|
||||
<link rel="stylesheet" href="../CSS/choix1.css">
|
||||
<title>INSAïde</title>
|
||||
<link rel="stylesheet" href="../CSS/etrange_decouverte.css">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com">
|
||||
<link href="https://fonts.googleapis.com/css2?family=Special+Elite&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
|
@ -22,8 +22,8 @@
|
|||
</p>
|
||||
</article>
|
||||
<div id="buttons">
|
||||
<button id="safeButton">Aller dormir, ça fait trop peur</button>
|
||||
<button id="riskyButton">Le suivre</button>
|
||||
<button id="safeButton" class="button">Aller dormir, ça fait trop peur</button>
|
||||
<button id="riskyButton" class="button">Le suivre</button>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
0
JAVASCRIPT/etrange_decouverte.js
Normal file
0
JAVASCRIPT/etrange_decouverte.js
Normal file
Loading…
Reference in a new issue