-
Notifications
You must be signed in to change notification settings - Fork 0
/
Alignment.html
142 lines (113 loc) · 4.12 KB
/
Alignment.html
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Alignment</title>
<style>
.container {
width: 1000px;
border: 3px solid purple;
margin: auto;
background-color: rgb(208, 171, 243);
text-align: justify;
}
.container,h1{
text-align: center;
}
.para {}
.item {
border: 3px solid black;
padding: 30px 30px;
margin: 30px 30px;
background-color: rgb(182, 241, 241);
/* TRBL */
font-size: 18px;
}
#fruit {
float: left;
width: 35%;
}
#Computer {
float: left;
width: 35%;
}
#stationary {
clear: left;
width: 90%;
}
#News {
float: left;
width: 35%;
}
.btn:hover{
cursor: pointer;
color: rgb(0, 0, 0);
background-color: rgb(196, 26, 173);
}
.btn{
margin: 3px 120px;
border: 2px solid;
border-radius: 14%;
/* width: 60px; */
text-decoration: none;
text-align: center;
/* background-color: rgb(236, 127, 236); */
font-weight: bold;
text-align: center;
}
.btn:active{
color: gray;
}
.btn:visited{
color:orange ;
background-color: yellow;
}
</style>
</head>
<body>
<div class="container">
<h1 style="color: maroon; ">THis is My Store! ©</h1>
<div class="item" id="fruit">
<h2>Fruit</h2>
<p id="fruitpara" class="para">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aperiam nulla laborum aspernatur dolorem, rem
recusandae cupiditate accusantium ut quas quo deserunt optio officiis, ab nemo corrupti saepe iure,
illum
<br>
<button id="fruit" class="btn"><a href="https://www.youtube.com/" target="_blank">read more</a></button>
</p>
</div>
<div class="item" id="News">
<h2>NEWS</h2>
<p id="newpara" class="para">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aperiam nulla laborum aspernatur dolorem, rem
recusandae cupiditate accusantium ut quas quo deserunt optio officiis, ab nemo corrupti saepe iure,
illum ea.
<br>
<button id="news" class="btn"><a href="https://www.youtube.com/" target="_blank">read more</a></button>
</p>
</div>
<div class="item" id="Computer">
<h2>Computer</h2>
<p id="computerpara" class="para">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aperiam nulla laborum aspernatur dolorem, rem
recusandae cupiditate accusantium ut quas quo deserunt optio officiis, ab nemo corrupti saepe iure,
illum ea.
<br>
<button id="computer" class="btn"><a href="https://www.youtube.com/" target="_blank">read more</a></button>
</p>
</div>
<div class="item" id="stationary">
<h2>stationary</h2>
<p id="stationarypara" class="para">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Aperiam nulla laborum aspernatur dolorem, rem
recusandae cupiditate accusantium ut quas quo deserunt optio officiis, ab nemo corrupti saepe iure,
illum ea.
<br>
<label for="stationary"><button id="stationary" class="btn"><a href="https://www.youtube.com/" target="_blank">read more</a></button></label>
</p>
</div>
</div>
</body>
</html>