e 7 miesięcy temu
rodzic
commit
d19736bbf7
5 zmienionych plików z 43 dodań i 0 usunięć
  1. 11 0
      scss/index.css
  2. 14 0
      scss/index.html
  3. 1 0
      scss/index.min.css
  4. 17 0
      scss/index.scss
  5. 0 0
      scss/test.sass

+ 11 - 0
scss/index.css

@@ -0,0 +1,11 @@
+@charset "UTF-8";
+/*多行注释*/
+.box {
+  width: 500px;
+  height: 500px;
+  border: 2px solid #f00;
+}
+
+h1 {
+  color: purple;
+}

+ 14 - 0
scss/index.html

@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1.0">
+    <title>Document</title>
+    <link rel="stylesheet" href="./index.css">
+</head>
+<body>
+    <div class="box">
+        <h1>你好</h1>
+    </div>
+</body>
+</html>

+ 1 - 0
scss/index.min.css

@@ -0,0 +1 @@
+.box{width:500px;height:500px;border:2px solid red}h1{color:purple}

+ 17 - 0
scss/index.scss

@@ -0,0 +1,17 @@
+$a:plum;
+$box1: 2px solid #f00;
+// 单行注释
+/*多行注释*/
+.box {
+    width: 500px;
+    height: 500px;
+    border: $box1;
+    $bb: purple !global;
+}
+$cc: red !important;
+$dd: yellow !default;
+h1 {
+    // color: $cc;
+    // color: $dd;
+    color: $bb;
+}

+ 0 - 0
scss/test.sass