-
Notifications
You must be signed in to change notification settings - Fork 0
/
responsiveweb.html
61 lines (55 loc) · 1.16 KB
/
responsiveweb.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
<!DOCTYPE html>
<html>
<head>
<meta charset = "utf-8">
<title> this is about css </title>
<style>
*{
box-sizing: border-box;
}
.header{
background-color: grey;
width:100%;
}
.menu{
width:30%;
float:left;
background-color: green;
}
.main{
width:70%;
float:left;
background-color: yellow;
}
[class *= "col-"]{
float:left;
border:5px solid red;
padding:15px;
}
.col-1{width:8.33%}
.col-2{width:16.66%}
.col-3{width:25%}
.col-4{width:33.33%}
.col-5{width:8.33%}
.col-5{width:41.66%}
.col-6{width:50%}
.col-8{width:58.33%}
.col-9{width:66.66%}
.col-10{width:75%}
</style>
</head>
<body>
<h1 class = "col-3">this is about responsive web </h1>
<div class = "col-3">
<ul>
<li>Home</li>
<li>Home</li>
<li>Home</li>
<li>Home</li>
<li>Home</li>
<li>Home</li>
</ul>
</div>
<p class = "col-6">this is the main method this is all about css and html you can search everything </p>
</body>
</html>