Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
informatique:cfp:creer_un_magazine_html_css [2019/09/02 06:52] – ↷ Page déplacée de cfp:creer_un_magazine_html_css à informatique:cfp:creer_un_magazine_html_css jside | informatique:cfp:creer_un_magazine_html_css [2023/02/28 20:02] (Version actuelle) – ↷ Page déplacée de informatique:technologie:formats-audio:creer_un_magazine_html_css à informatique:cfp:creer_un_magazine_html_css Cédric ABONNEL | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
+ | ====== HTML / CSS : Créer un magazine | ||
+ | {{tag>" | ||
+ | |||
+ | Suivez le cours en ligne depuis l' | ||
+ | |||
+ | La réalisation s' | ||
+ | |||
+ | Ci-dessous le corrigé. | ||
+ | |||
+ | <code HTML index.html> | ||
+ | < | ||
+ | < | ||
+ | <link rel=" | ||
+ | </ | ||
+ | < | ||
+ | |||
+ | < | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | <div class=" | ||
+ | < | ||
+ | <img class=" | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | <code CSS style.css> | ||
+ | h1 { | ||
+ | text-align: center; | ||
+ | color: white; | ||
+ | background: teal; | ||
+ | padding: 5px; | ||
+ | } | ||
+ | |||
+ | |||
+ | body { | ||
+ | background: linear-gradient(to bottom right, lemnchiffon, | ||
+ | padding: 15px; | ||
+ | font-family: | ||
+ | } | ||
+ | |||
+ | .column1 { | ||
+ | width: 48%; | ||
+ | float:left; | ||
+ | } | ||
+ | |||
+ | .column2 { | ||
+ | width: 48%; | ||
+ | float: | ||
+ | } | ||
+ | |||
+ | img { | ||
+ | max-width: 100%; | ||
+ | } | ||
+ | |||
+ | .photo { | ||
+ | box-shadow: 4px 4px 4px gray; | ||
+ | transform: rotate(10deg); | ||
+ | } | ||
+ | |||
+ | .item { | ||
+ | padding: 10px; | ||
+ | margin-bottom: | ||
+ | border: 3px dashed teal; | ||
+ | } | ||
+ | |||
+ | h2 { | ||
+ | color: white; | ||
+ | background: teal; | ||
+ | padding: 5px; | ||
+ | margin: 0px 0px 10px 0px; | ||
+ | box-shadow: 2px 2px 2px gray; | ||
+ | text-align: center; | ||
+ | } | ||
+ | </ |