crayon-syntax-highlighter/util/sample/sass.txt

11 lines
249 B
Plaintext
Raw Normal View History

2019-08-30 19:30:19 +02:00
@mixin adjust-location($x, $y) {
@if unitless($x) {
@warn "Assuming #{$x} to be in pixels";
$x: 1px * $x;
}
@if unitless($y) {
@warn "Assuming #{$y} to be in pixels";
$y: 1px * $y;
}
position: relative; left: $x; top: $y;
}