sunjuan 2 lat temu
rodzic
commit
e6ec371d90

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