We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2059df5 commit 571b480Copy full SHA for 571b480
1 file changed
Projects/bill tip calculator/style.css
@@ -1,4 +1,5 @@
1
body {
2
+ max-width: 100vw;
3
background: rgb(242, 242, 255);
4
color: #081625;
5
display: inline;
@@ -15,7 +16,10 @@ body {
15
16
}
17
18
.container {
- margin: 25px;
19
+ position: absolute;
20
+ top: 50%;
21
+ transform: translateY(-50%);
22
+ left: 12%;
23
display: flex;
24
flex-direction: column;
25
align-items: center;
@@ -53,4 +57,13 @@ body {
53
57
#single, #multiple {
54
58
margin: 30px 0;
55
59
font-size: 1.3em;
60
+ }
61
+
62
+ @media screen and (max-width: 468px) {
63
+ .container{
64
+ left: 50%;
65
+ transform: translate(-50%, -50%);
66
+ min-width: 95%;
67
68
56
69
0 commit comments