Skip to content

Commit 74afb15

Browse files
committed
Responsive improvement
1 parent 2f751aa commit 74afb15

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33
<head>
44
<meta charset="utf-8">
5-
<meta name="viewport" content="initial-scale=1">
5+
<meta name="viewport" content="width=device-width, initial-scale=1">
66

77
<title>DataURL</title>
88

style.css

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
@media screen and (max-width: 370px) {
2+
.btn {
3+
display:block;
4+
float:none !important;
5+
width:100%;
6+
box-sizing: border-box;
7+
}
8+
}
9+
110
body {
211
font-family: Verdana;
312
color:white;
@@ -91,7 +100,7 @@ h1 {
91100
}
92101
header {
93102
background-color:rgba(0,60,120,0.75);
94-
position:fixed;
103+
position:absolute;
95104
width:100%;
96105
margin:0px;
97106
top:0px;
@@ -112,4 +121,4 @@ h1 {
112121
padding:15px;
113122
height:100%;
114123
}
115-
}
124+
}

0 commit comments

Comments
 (0)