Skip to content

Commit 26cc17d

Browse files
mobile optimization
1 parent 56918b2 commit 26cc17d

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

demo.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -395,10 +395,23 @@
395395
border: 2px dashed #000;
396396
padding: 5px;
397397
}
398+
#code-section h3 span {
399+
margin-right: 1rem;
400+
}
398401
#code-section select {
399402
width: auto;
400403
margin: 0 0 0 1rem;
401404
}
405+
@media screen and (max-width: 1000px) {
406+
#code-section h3 {
407+
font-size: 1rem;
408+
}
409+
}
410+
@media screen and (max-width: 580px) {
411+
#code-section h3 label {
412+
display: none;
413+
}
414+
}
402415
footer {
403416
text-align: right;
404417
margin-right: 6px;

0 commit comments

Comments
 (0)