-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclass7.html
More file actions
61 lines (57 loc) · 1.64 KB
/
class7.html
File metadata and controls
61 lines (57 loc) · 1.64 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>class 7</title>
<style>
/* for grid */
/* #Home{grid-area: Home;}
#Link{
grid-area: Link;
}
#Address{
grid-area: Address;
}
#About{
grid-area: About;
}
#Task{
grid-area: Task;
} */
#maindiv{
display: flex;
flex-direction: row;
/* display:-ms-grid;
grid-template-areas: " Details Details Details Details Details Details "
" Website Website Website Contact Contact Contact"
"Visit Visit Visit Work Work Work"; */
padding: 20px;
background-color: aquamarine;
background-image: linear-gradient(120deg, blue,white,purple);
margin: 20px;
}
#maindiv >div{
background-color: blueviolet;
padding: 20px;
border-radius: 20px;
margin: 20px;
color: antiquewhite;
text-align: center;
font-family: fantasy;
font-size: 20px;
}
</style>
</head>
<body>
<!-- Grid box - it is a 2D(is a combo of rows and columns)-->
<div id="maindiv">
<div id="Home">Details</div>
<div id="Link">Website</div>
<div id="Address">Contact</div>
<div id="About">Visit </div>
<div id="Task">Work </div>
</div>
</body>
</html>