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;
+    }
 }