design_slider
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| design_slider [29/04/2019 15:33] – ilyes0537 | design_slider [21/08/2020 13:25] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | Design slide | + | |
| ====! Conception des Mockups avec inkscape ! ==== | ====! Conception des Mockups avec inkscape ! ==== | ||
| - | 1 - Mockup slide événement V1 (svg): | + | ====1 - Mockup slide événement V1 (svg):==== |
| https:// | https:// | ||
| {{: | {{: | ||
| - | 2 - Mockup slide article V1 (svg): | + | ====2 - Mockup slide article V1 (svg):==== |
| https:// | https:// | ||
| {{: | {{: | ||
| - | 3 - Mockup image Actu-Agenda-radio (svg): | + | ====3 - Mockup image Actu-Agenda-radio (svg):==== |
| https:// | https:// | ||
| {{: | {{: | ||
| - | 4 - Mockup image Avis-Agenda-palais-des-sports (svg) : | + | ====4 - Mockup image Avis-Agenda-palais-des-sports (svg) :==== |
| https:// | https:// | ||
| {{: | {{: | ||
| - | 5 - Mockup image événement-concert (svg) : | + | ====5 - Mockup image événement-concert (svg) :==== |
| https:// | https:// | ||
| {{: | {{: | ||
| - | 6 - Mockup image Support-existant (svg) : | + | ====6 - Mockup image Support-existant (svg) :==== |
| https:// | https:// | ||
| Ligne 36: | Ligne 36: | ||
| ==== ! Conception des Sliders en HTML et CSS ! ==== | ==== ! Conception des Sliders en HTML et CSS ! ==== | ||
| - | Slider Evénement HTML - CSS | + | ====Slider Evénement HTML - CSS==== |
| - | Code HTML | + | ====Code HTML==== |
| < | < | ||
| Ligne 78: | Ligne 78: | ||
| </ | </ | ||
| | | ||
| - | Code CSS | + | ====Code CSS==== |
| - | * { | + | html{ |
| - | | + | height: |
| - | padding: 0; | + | |
| - | } | + | body{ |
| - | html{ height: | + | |
| - | body{ min-height: | + | |
| - | header{ | + | |
| - | height: 38px; | + | header{ |
| - | background: # | + | height: 38px; |
| - | color:# | + | background: # |
| - | box-shadow: 1px 1px 5px 3px # | + | color:# |
| - | } | + | box-shadow: 1px 1px 5px 3px # |
| - | header img{ | + | } |
| - | width: | + | header img{ |
| - | height: | + | width: |
| - | z-index: 1000; | + | height: |
| - | position: absolute; | + | z-index: 1000; |
| - | } | + | position: absolute; |
| - | body { | + | } |
| + | body { | ||
| background-image: | background-image: | ||
| background-repeat: | background-repeat: | ||
| Ligne 104: | Ligne 105: | ||
| background-size: | background-size: | ||
| font-size: 25px; | font-size: 25px; | ||
| - | } | + | |
| - | body::after { | + | body::after { |
| content: ''; | content: ''; | ||
| display: block; | display: block; | ||
| height: 50px; | height: 50px; | ||
| - | } | + | |
| - | footer { | + | footer { |
| background: #e6332aff; | background: #e6332aff; | ||
| - | | + | |
| - | box-shadow: 1px 1px 5px 5px # | + | box-shadow: 1px 1px 5px 5px # |
| - | z-index: 10000; | + | z-index: 10000; |
| - | height: 48px; | + | height: 48px; |
| - | position: absolute; | + | |
| - | width: 100%; | + | margin-top: 50%; |
| - | margin-top: 50%; | + | padding-bottom: |
| - | padding-bottom: | + | } |
| - | } | + | footer img { |
| - | footer img { | + | width: 42%; |
| - | width: 42%; | + | |
| - | position: absolute; | + | |
| - | right: 0; | + | z-index: 10; |
| - | z-index: 10; | + | bottom: 14px; |
| - | bottom: 14px; | + | } |
| - | } | + | footer p{ |
| - | footer p{ | + | padding: 25px 0px 0px 5px; |
| - | padding: 25px 0px 0px 5px; | + | font-size: 27px; |
| - | font-size: 27px; | + | text-shadow: |
| - | text-shadow: | + | margin-left: |
| - | margin-left: | + | } |
| - | } | + | footer a, footer a:hover{ |
| - | footer a, footer a:hover{ color:#fff; text-decoration: | + | color:#fff; |
| + | text-decoration: | ||
| + | } | ||
| + | article{ | ||
| + | margin: 3% 3% 3% 3%; | ||
| + | height: 41%; | ||
| + | position: absolute; | ||
| + | } | ||
| + | .container{ | ||
| + | display: flex; | ||
| + | | ||
| + | margin-top: | ||
| + | transform: translateY(-50%); | ||
| + | z-index: 0; | ||
| + | margin-left: | ||
| + | padding-top: | ||
| + | } | ||
| + | .gauche, .droite{ | ||
| + | max-width: 50%; | ||
| + | width:50%; | ||
| + | } | ||
| + | .gauche{ | ||
| + | background: # | ||
| + | opacity: 0.8; | ||
| + | border-radius: | ||
| + | padding: 20px; | ||
| + | text-align: justify; | ||
| + | line-height: | ||
| + | } | ||
| + | .droite img{ | ||
| + | max-height: 89%; | ||
| + | padding-left: | ||
| + | max-width: 67%; | ||
| + | } | ||
| + | .gauche h1{ | ||
| + | color:# | ||
| + | } | ||
| + | .gauche h2{ | ||
| + | padding: 18px; | ||
| + | } | ||
| + | .gauche h3{ | ||
| + | padding-bottom: | ||
| + | } | ||
| + | .date h1{ | ||
| + | color:# | ||
| + | } | ||
| + | h1{ | ||
| + | text-align: center; | ||
| + | font-size: 53px; | ||
| + | line-height: | ||
| + | font-weight: | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | ====Slider Article HTML-CSS==== | ||
| + | |||
| + | ====Code HTML==== | ||
| + | |||
| + | < | ||
| + | <html lang=fr dir=ltr> | ||
| + | < | ||
| + | <meta charset=" | ||
| + | <link rel=" | ||
| + | < | ||
| + | </ | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | | ||
| + | <div class=" | ||
| + | < | ||
| + | <p>Le Jeudi 18 avril 2019, Régie Plus, en partenariat avec Pluriel(le)s et les acteurs du quartier, propose aux | ||
| + | habitants du Sanitas de fêter la journée de la terre. | ||
| + | A cette occasion, toutes les personnes motivées et sensibles à la propreté du quartier sont invitées à rejoindre les équipes de | ||
| + | salariés de Régie Plus et à les accompagner dans leur travail quotidien : ramasser les papiers et les détritus jeter aux pieds des | ||
| + | immeubles. Cette action a pour but de sensibiliser au respect du cadre de vie et de montrer l' | ||
| + | les salariés de Régie Plus, dont certains habitent aussi le quartier. La convivialité et le partage sont au centre de ce rendez- | ||
| + | vous ! | ||
| + | L' | ||
| + | quartier propre : jeux et bonne ambiance garantie ! | ||
| + | Rendez-vous à partir de 9h30 jardin Meffre (puis à 13h30). Pour ceux qui le désirent, le midi, possibilité de pique niquer tous | ||
| + | ensemble (chacun apporte son repas). | ||
| + | N' | ||
| + | </ | ||
| + | <div class=" | ||
| + | </ | ||
| + | </ | ||
| + | < | ||
| + | <img class=" | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ====Code CSS==== | ||
| + | |||
| + | |||
| + | |||
| + | html{ | ||
| + | height: | ||
| + | } | ||
| + | body{ | ||
| + | min-height: | ||
| + | font-family: | ||
| + | } | ||
| + | header{ | ||
| + | height: 38px; | ||
| + | background: #58b344ff; | ||
| + | color:# | ||
| + | box-shadow: 1px 1px 5px 3px #666666ff; | ||
| + | } | ||
| + | header img{ | ||
| + | width: | ||
| + | height: | ||
| + | z-index: 1000; | ||
| + | position: absolute; | ||
| + | } | ||
| + | body { | ||
| + | background-image: | ||
| + | background-repeat: | ||
| + | background-position: | ||
| + | background-size: | ||
| + | font-size: 25px; | ||
| + | } | ||
| + | body::after { | ||
| + | content: ''; | ||
| + | display: block; | ||
| + | height: 50px; | ||
| + | } | ||
| + | footer { | ||
| + | background: # | ||
| + | color: #fff; | ||
| + | box-shadow: 1px 1px 5px 5px # | ||
| + | z-index: 10000; | ||
| + | height: 48px; | ||
| + | position: absolute; | ||
| + | width: 100%; | ||
| + | margin-top: 50%; | ||
| + | | ||
| + | } | ||
| + | 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{ | ||
| + | | ||
| + | | ||
| + | | ||
| + | article{ | ||
| + | margin: 3% 3% 3% 3%; | ||
| + | height: 41%; | ||
| + | position: absolute; | ||
| + | } | ||
| + | .container{ | ||
| + | display: flex; | ||
| + | width: 100%; | ||
| + | margin-top: 42vh; | ||
| + | transform: translateY(-50%); | ||
| + | z-index: 0; | ||
| + | margin-left: | ||
| + | padding-top: | ||
| + | } | ||
| + | .gauche, .droite{ | ||
| + | max-width: 50%; | ||
| + | width:50%; | ||
| + | } | ||
| + | .gauche{ | ||
| + | background: #ffffff80; | ||
| + | opacity: 0.8; | ||
| + | border-radius: | ||
| + | padding: 20px; | ||
| + | text-align: justify; | ||
| + | line-height: | ||
| + | } | ||
| + | .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: | ||
| + | font-weight: | ||
| + | margin-bottom: | ||
| + | } | ||
| + | |||
| + | |||
| + | |||
| - | article{ | ||
| - | margin: 3% 3% 3% 3%; | ||
| - | height: 41%; | ||
| - | position: absolute; | ||
| - | } | ||
| - | .container{ | ||
| - | display: flex; | ||
| - | width: 100%; | ||
| - | margin-top: 42vh; | ||
| - | transform: translateY(-50%); | ||
| - | z-index: 0; | ||
| - | margin-left: | ||
| - | padding-top: | ||
| - | } | ||
| - | .gauche, .droite{ max-width: 50%; width:50%; } | ||
| - | .gauche{ | ||
| - | background: #ffffff80; | ||
| - | opacity: 0.8; | ||
| - | border-radius: | ||
| - | padding: 20px; | ||
| - | text-align: justify; | ||
| - | line-height: | ||
| - | } | ||
| - | .droite img{ | ||
| - | max-height: 89%; | ||
| - | padding-left: | ||
| - | max-width: 67%; | ||
| - | } | ||
| - | .gauche h1{ color:# | ||
| - | .gauche h2{ padding: 18px; } | ||
| - | .gauche h3{ | ||
| - | padding-bottom: | ||
| - | } | ||
| - | .date h1{ color:# | ||
| - | h1{ | ||
| - | text-align: center; | ||
| - | font-size: 53px; | ||
| - | line-height: | ||
| - | font-weight: | ||
| - | margin-bottom: | ||
| - | } | ||
design_slider.1556544820.txt.gz · Dernière modification : 21/08/2020 13:22 (modification externe)
