logo
  • 教程列表
  • SO官方文檔
  • 運算子
    • 算術運算子
    • 分配運算子
    • 比較運算子
  1. StackOverflow 文件
  2. sass 教程
  3. 運算子
  4. 比較運算子

比較運算子

Created: November-22, 2018

Sass supports all the usual comparison operators: <,>,==,!=,<=,>=.

例子

(10px == 10) // Returns true

("3" == 3) // Returns false

$padding: 10px;
$padding <= 8px; // Returns false
  • 分配運算子

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明