<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                ### 1.嵌套 ```css div{ h1{ width:100px; height:100px; background:yellow; //&表示h1 &:hover{ background:red; } } } ``` ``` //編譯后 div h1 { width: 100px; height: 100px; background: yellow; } div h1:hover { background: red; } ``` ### 2.變量 ```css $bg:red; $fontSize:12px; ``` ### 3.mixin * 1.使用@mixin定義代碼塊 * 2.使用@include引用代碼塊 ```css $bg:red; @mixin bg($bg){ background:$bg; line-height:40px; text-align: center; } .nav{ @include bg(yellow); } ``` ### 4.extend ```css .block{ width:100px; height:100px; } .nav{ @extend .block; } ``` ### 5.loop ```css @mixin gen-col($n){ @if $n > 0 { @include gen-col($n - 1); .col-#{$n}{ width:100%/12*$n; } } } @include gen-col(12) ; ``` ```css 推薦使用 //sass之處for循環 @for $i from 1 through 12 { .col-#{$i}{ width:100%/12*$i } } ``` ### 6.import 可以將css拆分成不同的模塊,用import去加載對應的css
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看