Animations
This commit is contained in:
parent
2de752322e
commit
635339aba4
2 changed files with 61 additions and 12 deletions
58
CSS/menu.css
58
CSS/menu.css
|
@ -21,21 +21,20 @@ header{
|
|||
|
||||
font-size:4.5vw;
|
||||
font-weight: bold;
|
||||
background: -webkit-linear-gradient(#BF0909 0%, #4F0101 100%);
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
-webkit-animation: glow 1s ease-in-out infinite alternate;
|
||||
-moz-animation: glow 1s ease-in-out infinite alternate;
|
||||
color:#a30909;
|
||||
}
|
||||
|
||||
.glow{
|
||||
animation: glow 1s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@-webkit-keyframes glow {
|
||||
@keyframes glow {
|
||||
from {
|
||||
text-shadow: 0 0 30px #e50022, 0 0 40px #e50022, 0 0 50px #e50022, 0 0 60px #e50022, 0 0 70px #e50022;
|
||||
text-shadow: 0 0 10px #494949, 0 0 20px #494949,0 0 30px #494949, 0 0 40px #494949;
|
||||
}
|
||||
|
||||
to {
|
||||
text-shadow: 0 0 30px #e20000, 0 0 40px #e20000, 0 0 50px #e20000, 0 0 60px #e20000, 0 0 70px #e20000, 0 0 80px #e20000, 0 0 90px #e20000;
|
||||
text-shadow: 0 0 20px #494949,0 0 30px #494949, 0 0 40px #494949, 0 0 50px #494949, 0 0 60px #494949, 0 0 70px #494949, 0 0 80px #494949, 0 0 90px #494949;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -55,19 +54,58 @@ main{
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
main section article span{
|
||||
width:16vw;
|
||||
display:flex;
|
||||
justify-content:center;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
main section article span span {
|
||||
opacity:0;
|
||||
animation: fade-text 1s forwards;
|
||||
font-size:3vw;
|
||||
margin-right:-0.2vw;
|
||||
}
|
||||
|
||||
#B{animation-delay:0.3s}
|
||||
#i{animation-delay:0.6s}
|
||||
#e1{animation-delay:0.9s}
|
||||
#n1{animation-delay:1.2s}
|
||||
#v{animation-delay:1.5s}
|
||||
#e2{animation-delay:1.8s}
|
||||
#n2{animation-delay:2.1s}
|
||||
#u{animation-delay:2.4s}
|
||||
#e3{animation-delay:2.7s}
|
||||
|
||||
@keyframes fade-text {
|
||||
0% {opacity :0}
|
||||
100% {opacity:1}
|
||||
}
|
||||
|
||||
#introTxt{
|
||||
opacity:0;
|
||||
font-size:2vw;
|
||||
animation:fade-text 1s forwards;
|
||||
animation-delay:3.5s;
|
||||
}
|
||||
|
||||
#pseudoTxt{
|
||||
opacity:0;
|
||||
font-size:2vw;
|
||||
animation:fade-text 1s forwards;
|
||||
animation-delay:5s;
|
||||
}
|
||||
|
||||
#pseudoInput{
|
||||
opacity:0;
|
||||
font-family:'Special Elite',cursive;
|
||||
font-size:1.8vw;
|
||||
border-radius:1vw;
|
||||
padding:0.3vw 0.5vw 0.3vw 0.5vw;
|
||||
padding:0.3vw 1vw 0vw 0.5vw;
|
||||
animation:fade-text 1s forwards;
|
||||
animation-delay:5s;
|
||||
|
||||
}
|
||||
|
||||
#pseudoInput:focus{
|
||||
|
@ -75,7 +113,7 @@ main{
|
|||
font-family:'Special Elite',cursive;
|
||||
font-size:1.8vw;
|
||||
border-radius:1vw;
|
||||
padding:0.3vw 0.5vw 0.3vw 0.5vw;
|
||||
padding:0.3vw 1vw 0vw 0.5vw;
|
||||
}
|
||||
|
||||
footer{
|
||||
|
|
|
@ -10,12 +10,23 @@
|
|||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<p id="headerTxt">INSAïde</p>
|
||||
<p class="glow" id="headerTxt">INSAïde</p>
|
||||
</header>
|
||||
<main>
|
||||
<section>
|
||||
<article>
|
||||
<p id="introTxt">Bienvenue, pour commencer l'aventure, veuillez renseigner votre identité</p>
|
||||
<span>
|
||||
<span id="B">B</span>
|
||||
<span id="i">i</span>
|
||||
<span id="e1">e</span>
|
||||
<span id="n1">n</span>
|
||||
<span id="v">v</span>
|
||||
<span id="e2">e</span>
|
||||
<span id="n2">n</span>
|
||||
<span id="u">u</span>
|
||||
<span id="e3">e</span>
|
||||
</span>
|
||||
<p id="introTxt">Pour commencer l'aventure, veuillez renseigner votre identité</p>
|
||||
<p id="pseudoTxt">Entrez votre pseudo</p>
|
||||
<input id="pseudoInput" type="text"/>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue