Bonsoir
j’intègre la maquette suivante:
voici mon travail :
mon problème est j'ai du avec la barre en dessous du menu
et au dessus du footer.
mon code html :
Code html : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57 <body> <header> <div class="s0"> <div class="gauche"> <h1>thom-soon</h1> </div> <nav class="entete"> <a href="#">portofolio collections</a> <a href="#">service list</a> <a href="#">contact now</a> </nav> </div> </header> <main class="container"> <section class="central"> <div class="titre0"> <div class="first">outdoor</div> <div class="first">blogger <span class="italic">passion</span> </div> <div class="first">mission</div> </div> <div class="picture"> <img src="img/villa.jpg" alt="Belle Villa Luxueuse"> </div> <p class="texte"> my greatest passion is photographing public places and exploring<br> beautiful landscopes and fashion.Check my profile on<br> Unsplash -free photos for download.<br> </p> </section> </main> <footer> <span class="line"></span> <p>copyright © 1422 studio platform all right reserved</p> </footer> </body> </html>
mon css:
Code css : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 footer:before{ content: ""; width: 100%; height:1px; background-color: white; position: absolute; display: block; margin: 0 auto; } .s0::after{ content: ""; width: 100%; height:1px; background-color: white; position: absolute; }
Pourrais-je avoir des explications ?
Merci.
Partager