sunjuan 2 년 전
부모
커밋
e6ec371d90
1개의 변경된 파일41개의 추가작업 그리고 0개의 파일을 삭제
  1. 41 0
      nngkxxdp/src/main/resources/static/school/css/conmon.css

+ 41 - 0
nngkxxdp/src/main/resources/static/school/css/conmon.css

@@ -14,4 +14,45 @@ ul,li{
 }
 a{
     text-decoration: none;
+}
+/*适配*/
+@media screen and (max-width: 320px) {
+    html {
+        font-size: 9px;
+    }
+}
+@media screen and (min-width: 320px) {
+    html {
+        font-size: 12px;
+    }
+}
+
+@media screen and (min-width: 360px) {
+    html {
+        font-size: 12px;
+    }
+}
+
+@media screen and (min-width: 400px) {
+    html {
+        font-size: 14px;
+    }
+}
+
+@media screen and (min-width: 440px) {
+    html {
+        font-size: 14px;
+    }
+}
+
+@media screen and (min-width: 480px) {
+    html {
+        font-size: 14px;
+    }
+}
+
+@media screen and (min-width: 640px) {
+    html {
+        font-size: 15px;
+    }
 }