-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
70 lines (58 loc) · 1 KB
/
style.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
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Arial, sans-serif;
}
h1 {
font-size: 2em;
margin-bottom: 1em;
text-align: center;
}
p{
vertical-align:top;
}
.section {
float: left;
width: 25%;
padding: 1em;
background-color: red;
border: 2px solid black;
position: relative;
margin-bottom: 1em;
margin-left: 10px;
margin-right: 10px;
}
.section-title,.section-title1,.section-title2 {
position: relative;
top: -36px;
left: 150px;
background-color: yellowgreen;
padding: 0.5em;
padding-right: 0px;
border: 1px solid black;
margin-left: 2px;
border: 4px solid black;
width: 150px;
}
.section-title1 {
background-color: bisque;
}
.section-title2 {
background-color: rgb(208, 202, 13);
}
.hello{
display: flex;
justify-content: space-around;
}
@media (max-width: 991px) {
.section {
width: 50%;
}
}
@media (max-width: 767px) {
.section {
width: 100%;
}
}