Mon fond cache mon texe ?
Stygrisse
-
Stygrisse -
Stygrisse -
Bonjour,
jpouvez vous maideir effectivement j'ai un probléme dans mon code car je ne voie plus mon texte et je n'arrive pas a afficher mon fond est mon texte pouvz vous m'aider
html :
<!DOCTYPE html>
<html land=fr>
<head>
<title>
Fête des mere
</title>
<link rel='stylesheet' href='Style.css' type='text/css'>
</head>
<body>
<div class="wrapper"></div>
<h1>Bonne fête MAMAN</h1>
<p>i love you</p>
</body>
</html>
css:
h1 {
text-align: center;
color: rgb(66, 30, 148);
}
p {
text-align: center;
}
.wrapper {
height: 100%;
width: 100%;
left:0;
right: 0;
top: 0;
bottom: 0;
position:absolute;
background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3);
background-size: 1800% 1800%;
-webkit-animation: rainbow 18s ease infinite;
-z-animation: rainbow 18s ease infinite;
-o-animation: rainbow 18s ease infinite;
animation: rainbow 18s ease infinite;}
@-webkit-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@-moz-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@-o-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
jpouvez vous maideir effectivement j'ai un probléme dans mon code car je ne voie plus mon texte et je n'arrive pas a afficher mon fond est mon texte pouvz vous m'aider
html :
<!DOCTYPE html>
<html land=fr>
<head>
<title>
Fête des mere
</title>
<link rel='stylesheet' href='Style.css' type='text/css'>
</head>
<body>
<div class="wrapper"></div>
<h1>Bonne fête MAMAN</h1>
<p>i love you</p>
</body>
</html>
css:
h1 {
text-align: center;
color: rgb(66, 30, 148);
}
p {
text-align: center;
}
.wrapper {
height: 100%;
width: 100%;
left:0;
right: 0;
top: 0;
bottom: 0;
position:absolute;
background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3, #dd00f3);
background-size: 1800% 1800%;
-webkit-animation: rainbow 18s ease infinite;
-z-animation: rainbow 18s ease infinite;
-o-animation: rainbow 18s ease infinite;
animation: rainbow 18s ease infinite;}
@-webkit-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@-moz-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@-o-keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
@keyframes rainbow {
0%{background-position:0% 82%}
50%{background-position:100% 19%}
100%{background-position:0% 82%}
}
Configuration: Windows / Chrome 95.0.4638.69
A voir également:
- Mon fond cache mon texe ?
- Copie caché - Guide
- Numéro caché - Guide
- Jeux google caché - Guide
- Comment mettre une vidéo en fond d'écran - Guide
- Message caché whatsapp - Guide
1 réponse
Bonjour,
Essaye de déplacer ton contenu dans le div.wrapper :
Bonne journée,
Essaye de déplacer ton contenu dans le div.wrapper :
<!DOCTYPE html> <html lang=fr> <head> <title>Fête des mere</title> <link rel='stylesheet' href='Style.css' type='text/css'> </head> <body> <div class="wrapper"> <h1>Bonne fête MAMAN</h1> <p>i love you</p> </div> </body> </html>
Bonne journée,
Stygrisse
Ok merci