Здравствуйте.
У меня есть такой код
HTML5 |
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
| <header>
<div class="container">
<div class="wrap-content-header">
<div class="wrap-logo">
<div class="logo">FM</div>
</div>
<ul class="nav">
<li><a href="#">About</a></li>
<li><a href="#">Collections</a></li>
<li><a href="#">Sale</a></li>
<li><a href="#">Contact</a></li>
</ul>
<div class="wrap-search">
<form id="searchbox" action="" style="float:none; text-align:center">
<input id="search" type="text" placeholder="What are you looking for?">
<input id="submit" type="submit" value="Search">
</form>
</div>
</div>
</div>
<div class="wrap-text-img">
<div class="textwrap">
<h1>Be authentic</h1>
</div>
<div class="button">
<input class="shopnow" type="button" value="Shop Now">
</div>
</div>
</header> |
|
CSS |
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
| body {
margin: 0
}
header {
height: 130px;
width: 100%;
}
.container {
width: 100%;
margin: 0px auto;
}
.wrap-content-header {
height: 130px;
color: #FFFFFF;
background-color: #FFFFFF;
width: auto;
}
.wrap-logo {
width: 30%;
height: 130px;
float: left;
padding-top: 27px;
}
.logo {
float: none;
margin: 0 auto;
height: 63px;
width: 220px;
background-color: black;
color: white;
text-align: center;
line-height: 45px;
font-family: bernier_shaderegular;
font-size: 60px;
margin-right: 60px;
}
.wrap-search {
width: 30%;
height: 130px;
float: right;
padding-top: 30px;
}
.nav {
width: 35%;
padding-top: 30px;
float: left;
list-style: none;
overflow: hidden;
}
.nav li {
display: inline-block;
padding-right: 38px;
}
.nav li a {
font-size: 18px;
font-family: Source Sans Pro;
text-transform: uppercase;
text-decoration: none;
color: #302c2d;
}
a:visited {
color: #302c2d;
}
#submit {
background-color: #d8cec6;
text-transform: uppercase;
height: 54px;
margin: 0 0 0 10px;
padding: 0;
margin-right: 65px;
width: 113px;
font: 24px Source Sans Pro;
color: #81888c;
}
#search {
background-color: #f2e7e0;
height: 32px;
width:186px;
font: 14px Source Serif Pro;
color: #3b3836;
}
.wrap-text-img {
background-image: url(../shop-design/3PXYH1MHC2.jpg);
background-size: 100%;
height: 700px;
}
.textwrap h1 {
font-size: 72pt;
color: white;
font-family: bernier_shaderegular;
text-transform: uppercase;
text-align: center;
line-height: 950px;
}
.shopnow {
height: 70px;
width: 300px;
text-transform: uppercase;
font-family: Source Sans Pro;
font-size: 36px;
background-color: #d8cec6;
color: #3b3836;
padding-top: -100px;
}
.button {
float: right;
position: relative;
padding-top: -12px;
} |
|
Мне нужно чтобы кнопка .shopnow была под <h1>Be authentic</h1> вот так
Подскажите, как это можно сделать, пожалуйста