<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>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## type-of() 函數主要用來判斷一個值是屬于什么類型: 返回值: `number` 為數值型。 `string` 為字符串型。 `bool` 為布爾型。 `color` 為顏色型。 ~~~ >> type-of(100) "number" >> type-of(100px) "number" ~~~ ~~~ $color:red; @if type-of($value: $color) == color{ div{ color:$color; } } ~~~ ## unit() 函數 >函數主要是用來獲取一個值所使用的單位 ~~~ $n:12px; @if unit($number: $n) == px{ div{ width:$n; } } ~~~ ## comparable()函數 comparable() 函數主要是用來判斷兩個數是否可以進行“加,減”以及“合并”。如果可以返回的值為 true,如果不可以返回的值是 false ~~~ @mixin name { @if comparable(12, 11 ){ width:100px; } } div{ @include name } ~~~ ## Miscellaneous函數 在這里把 Miscellaneous 函數稱為三元條件函數,主要因為他和 JavaScript 中的三元判斷非常的相似。他有兩個值,當條件成立返回一種值,當條件不成立時返回另一種值: 語法 ~~~ if($condition,$if-true,$if-false) ~~~ ~~~ @mixin name { width:if(false,100px,200px) } div{ @include name } ~~~
                  <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>

                              哎呀哎呀视频在线观看