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 Les deux révisions suivantes | ||
design_slider [29/04/2019 15:48] ilyes0537 |
design_slider [29/04/2019 15:53] ilyes0537 |
||
---|---|---|---|
Ligne 142: | Ligne 142: | ||
</ | </ | ||
</ | </ | ||
+ | | ||
+ | ====Code CSS==== | ||
+ | |||
+ | |||
+ | |||
+ | html{ height: | ||
+ | body{ min-height: | ||
+ | header{ height: 38px; background: #58b344ff; color:# | ||
+ | header img{ width: | ||
+ | body {background-image: | ||
+ | size: 70%; | ||
+ | body::after {content: ''; | ||
+ | footer {background: | ||
+ | width: 100%; | ||
+ | margin-top: 50%; | ||
+ | padding-bottom: | ||
+ | } | ||
+ | |||
+ | footer img { | ||
+ | width: 42%; | ||
+ | position: absolute; | ||
+ | right: 0; | ||
+ | z-index: 10; | ||
+ | bottom: 14px; | ||
+ | } | ||
+ | |||
+ | footer p{ | ||
+ | padding: 25px 0px 0px 5px; | ||
+ | font-size: 27px; | ||
+ | text-shadow: | ||
+ | margin-left: | ||
+ | } | ||
+ | |||
+ | footer a, footer a:hover{ color:#fff; text-decoration: | ||
+ | |||
+ | article{ | ||
+ | margin: 3% 3% 3% 3%; | ||
+ | height: 41%; | ||
+ | position: absolute; | ||
+ | } | ||
+ | |||
+ | .container{ | ||
+ | display: flex; | ||
+ | /*border: 1px solid #000;*/ | ||
+ | width: 100%; | ||
+ | margin-top: 42vh; | ||
+ | transform: translateY(-50%); | ||
+ | z-index: 0; | ||
+ | margin-left: | ||
+ | padding-top: | ||
+ | } | ||
+ | |||
+ | .gauche, .droite{ max-width: 50%; width:50%; } | ||
+ | .gauche{background: | ||
+ | |||
+ | .droite img{ | ||
+ | max-height: 89%; | ||
+ | padding-left: | ||
+ | max-width: 67%; | ||
+ | } | ||
+ | | ||
+ | .gauche h1{ color:# | ||
+ | .gauche h2{ padding: 18px; } | ||
+ | .date h1{ color:# | ||
+ | h1{ text-align: center; font-size: 53px; line-height: | ||
+ | /*.gauche p{ background: #ffffff80; opacity: 0.8; border-radius: | ||
+ | .date{ margin-top: 12%; }*/ | ||
+ | |||
+ | |||