A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sass/libsass/issues/740 below:

!default not applying to variables with null value · Issue #740 · sass/libsass · GitHub

According to the sass docs "Variables with null values are treated as unassigned by !default"
but libsass seems to treat null values as assigned when using !default:

$background: null;
$background: #fff !default;

.test {
  background-color: $background;
}

libsass 3.02 compiles this to

.test {
   }

Ruby sass compiles this to:

.test {
  background-color: #fff;
}

http://sassmeister.com/gist/a2e8a2424c963dd72098


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4