/
githubmirror
/
brackets
Обзор
Документация
Войти
/
githubmirror
/
brackets
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/spec/CSSUtils-test-files/variables.scss
32 строки
648 B
RaymondLim
less and scss unit tests
12 сен 2014, 22:57
12 сен 2014, 22:57
812fe37
Код
Авторство
О чём код?
$family: unquote("Droid+Sans"); @import url("http://fonts.googleapis.com/css?family=#{$family}"); $name: foo; $attr: border; .#{$name} a { #{$attr}-color: blue; } .after-variable-interpolated-selector { color: green; } $property: color; div { // test case for https://github.com/adobe/brackets/issues/9029 background-#{$property}: blue } p { $font-size: 12px; $line-height: 30px; font: #{$font-size}/#{$line-height}; } .after-variable-interpolated-property { background-image: url(if($bootstrap-sass-asset-helper, twbs-image-path("#{$file-1x}"), "#{$file-1x}")); } .after-variable-interpolated-url { color: green; }