Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有可能做这样的事情吗?
if(x == y || x == z) { stuff }
我试过这个
@if padding-l == x || padding-r == x{ padding: 0; }
有任何想法吗?
$padding-l: y; $padding-r: x; h1 { @if $padding-l == x or $padding-r == x { padding: 0; } }