-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstylesheet.css
74 lines (74 loc) · 1.03 KB
/
stylesheet.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
*{box-sizing:border-box;}
h1{
text-align: center;
color: red;
}
@media (min-width:992px)
{
.col-lg-4{
width:32%;
height:100px;
background-color:blue;
float: left;
margin-left:10px;
border: 2px solid black;
}}
@media (min-width: 768px) and (max-width: 991px)
{
.col-md-6{
width:48%;
height:100px;
background-color:blue;
float: left;
margin-left:10px;
border: 2px solid black;
margin-bottom: 20px;
}
.col-md-12{
width:97%;
height:100px;
background-color:blue;
float: left;
margin-left:10px;
border: 2px solid black;
}
}
@media (max-width: 767px)
{
.col-xs-12{
width:96%;
height:100px;
background-color:blue;
float: left;
margin-left:10px;
border:2px solid black;
margin-bottom:20px;
}
}
.parent{
background-color: yellow;
color: black;
float: right;
height: 20px;
width: 60px;
clear:right;
text-align:center;
}
.parent1{
background-color: red;
color: white;
float: right;
height: 20px;
width: 60px;
clear:right;
text-align:center;
}
.parent2{
background-color: gray;
color: black;
text-align:center;
float: right;
height: 20px;
width: 60px;
clear:right;
}