-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
45 lines (45 loc) · 910 Bytes
/
style.css
File metadata and controls
45 lines (45 loc) · 910 Bytes
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
body {
margin: 0;
padding: 0;
box-sizing: border-box;
}
#box {
position: absolute;
height: 20%;
width: 25%;
margin-top: 17%;
margin-left: 35%;
border: 1px solid #000;
border-radius: 5px;
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
text-align: center;
background-image: linear-gradient(to bottom right, #d74177, #ffe98a);
}
.background {
position: absolute;
width: 100%;
height: 100%;
background-image: url(desktop.jpg);
background-repeat: no-repeat;
background-size: cover;
background-position-y: bottom;
z-index: -1;
}
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
#box {
height: 170px;
width: 50%;
margin-top: 70%;
margin-left: 25%;
}
.background {
background-image: url(mobile.jpeg);
}
.btn-outline-success {
margin-bottom: 5px;
}
}