-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
52 lines (52 loc) · 1.01 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
*, *:before, *:after {
box-sizing: border-box;
}
body {
margin: 0;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
}
@media all and (orientation: landscape), all and (min-width: 480px) {
body {
flex-direction: row;
}
}
@media all and (orientation: portrait), all and (max-width: 480px) {
body {
flex-direction: column;
}
}
.first, .second {
min-height: 100vh;
flex: 1;
}
.first {
background-image: url('first.JPG');
background-size: cover;
}
.first span {
font-family: Noto Serif, serif;
font-size: 24px;
padding: 10px;
color: white;
top: 550px;
position: relative;
left: 60px;
background-color: #e74c3c;
}
.second {
background-image: url('second.jpg');
background-size: cover;
background-position: center center;
}
.second span {
background-color: #27ae60;
color: white;
padding: 10px;
font-family: Noto Serif, serif;
font-size: 24px;
position: relative;
left: 60px;
top: 500px;
}