Probleme avec html et css

gorimakingo Messages postés 6 Date d'inscription mardi 11 octobre 2016 Statut Membre Dernière intervention 13 octobre 2016 - 11 oct. 2016 à 18:38
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 - 5 juil. 2017 à 09:40
Bonjour,
j'apprend a code dans un site sympa "https://www.codecademy.com" est j'ai bien avance, mais voila je ss arrive dans cette exercice ou ils me demande change la couleur du fond en "aqua" (donc j'ai ecrir background:aqua;) mais sa marche pas aide moi svp, voila l'exercice:

body {

color:MidnightBlue;
padding: 0;
margin: 0;
background: #f7f7f7;
/* Old browsers */
background: -moz-linear-gradient(45deg, #f7f7f7 0%, #EAE0D5 100%);
/* FF3.6-15 */
background: -webkit-linear-gradient(45deg, #f7f7f7 0%, #EAE0D5 100%);
/* Chrome10-25,Safari5.1-6 */
background: linear-gradient(45deg, #f7f7f7 0%, #EAE0D5 100%);

}

/** Header styles **/

.header {
background-image: url("https://s3.amazonaws.com/codecademy-content/courses/web-101/unit-4/htmlcss1-img_coffee-bgnd.jpeg");
height: 400px;
background-position: center center;
}

h1 {


font-family: 'Covered By Your Grace', sans-serif;
font-size: 100px;
line-height: 76px;
margin: 0;
position: relative;
text-align: center;
top: 20%;
}

/** List style **/

h2 {
color: #E4BB97;
font-family: 'Raleway', sans-serif;
font-size: 28px;
font-weight: 500;
text-align: left;
text-transform: uppercase;
}

ul {
margin: 0 auto;
padding: 0;
width: 50%;
}

li {
border-bottom: 1px solid #E4BB97;
list-style: none;
margin: 100px 0px;
padding-bottom: 60px;
}

p {
color: #444444;
line-height: 32px;
font-family: 'Raleway', sans-serif;
font-size: 20px;
font-weight: 100;
}

a {
color: #214E34;
font-family: 'Raleway', sans-serif;
font-size: 13px;
font-weight: 900;
text-align: left;
text-transform: uppercase;
text-decoration: none;
letter-spacing: 2px;
}

2 réponses

ekdeveloppers Messages postés 6 Date d'inscription vendredi 2 septembre 2016 Statut Membre Dernière intervention 26 juillet 2017
Modifié le 5 juil. 2017 à 06:30
bonjour voici le code en hexadecimal poue la couleur Aqua = #00FFFF
n'hesitez pas si vous avez d'autres question nous sommes disposés
0
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 344
5 juil. 2017 à 09:37
Bonjour

Background-color et non background ?
0
jordane45 Messages postés 38144 Date d'inscription mercredi 22 octobre 2003 Statut Modérateur Dernière intervention 21 avril 2024 344
5 juil. 2017 à 09:40
Pensr aussi a forcer ton navigateur à vider son cache lorsque tu rafraichi ta page ctrl+F5.
0
Rejoignez-nous