mirror of
https://github.com/hanzoai/vite.git
synced 2026-10-30 19:36:16 +00:00
26 lines
469 B
SCSS
26 lines
469 B
SCSS
@use 'sass:string';
|
|
|
|
@import './css-in-scss.css';
|
|
|
|
.sass-at-import {
|
|
color: olive;
|
|
background: url(./icon.png) 10px no-repeat;
|
|
}
|
|
|
|
.sass-at-import-alias {
|
|
color: olive;
|
|
background: url(=/nested/icon.png) 10px no-repeat;
|
|
}
|
|
|
|
$var: '/ok.png';
|
|
.sass-url-starts-with-variable {
|
|
background: url($var);
|
|
background-position: center;
|
|
}
|
|
|
|
$var2: '/OK.PNG';
|
|
.sass-url-starts-with-function-call {
|
|
background: url(to-lower-case($var2));
|
|
background-position: center;
|
|
}
|