SHOW:
|
|
- or go back to the newest paste.
1 | <!doctype html> | |
2 | <html> | |
3 | <head> | |
4 | <meta charset="utf-8"> | |
5 | <title>Document sans nom</title> | |
6 | <style> | |
7 | body{ | |
8 | margin:0px; | |
9 | } | |
10 | #top1{ | |
11 | width:100%; | |
12 | height:75px; | |
13 | background-color:#313131; | |
14 | } | |
15 | #top1Interieur{ | |
16 | width:1170px; | |
17 | height:100%; | |
18 | background-color: #336; | |
19 | position:relative; | |
20 | margin-left:auto; | |
21 | margin-right:auto; | |
22 | } | |
23 | #logo{ | |
24 | width:110px; | |
25 | height:105px; | |
26 | background-color:rgba(255,153,51,0.75); | |
27 | position:absolute; | |
28 | top:0px; | |
29 | left:0px; | |
30 | } | |
31 | #top2{ | |
32 | width:100%; | |
33 | height:30px; | |
34 | background-color: #CCC; | |
35 | } | |
36 | #milieu{ | |
37 | width:1170px; | |
38 | height:415px; | |
39 | background-color: #C60; | |
40 | margin-top:300px; | |
41 | margin-left:auto; | |
42 | margin-right:auto; | |
43 | } | |
44 | .produit{ | |
45 | box-sizing:border-box; | |
46 | - | width:375px; |
46 | + | width:350px; |
47 | - | height:200px; |
47 | + | height:198px; |
48 | background-color: #369; | |
49 | - | margin-bottom:300px; |
49 | + | margin-bottom:10px; |
50 | - | margin-right:10px; |
50 | + | margin-right:35px; |
51 | border:solid 2px #666; | |
52 | float:left; | |
53 | position:relative; | |
54 | } | |
55 | .bouton{ | |
56 | width:150px; | |
57 | height:30px; | |
58 | position:absolute; | |
59 | top:155px; | |
60 | left:-15px; | |
61 | background-color:#FC0; | |
62 | } | |
63 | </style> | |
64 | </head> | |
65 | ||
66 | <body> | |
67 | ||
68 | <div id="top1"> | |
69 | <div id="top1Interieur"> | |
70 | <div id="logo"></div> | |
71 | </div> | |
72 | </div> | |
73 | ||
74 | <div id="top2"></div> | |
75 | ||
76 | <div id="milieu"> | |
77 | <div class="produit"> | |
78 | <div class="bouton"></div> | |
79 | </div> | |
80 | <div class="produit"> | |
81 | <div class="bouton"></div> | |
82 | </div> | |
83 | <div class="produit"> | |
84 | <div class="bouton"></div> | |
85 | </div> | |
86 | <div class="produit"> | |
87 | <div class="bouton"></div> | |
88 | </div> | |
89 | <div class="produit"> | |
90 | <div class="bouton"></div> | |
91 | </div> | |
92 | <div class="produit"> | |
93 | <div class="bouton"></div> | |
94 | </div> | |
95 | </div> | |
96 | ||
97 | </body> | |
98 | </html> |