sass-spec/spec/output_styles/compressed/scss/functions-and-mixins/input.scss
raw| 1 | @function foo() { |
| 2 | @return "hello"; |
| 3 | } |
| 4 | |
| 5 | @mixin foo() { |
| 6 | content: "hello"; |
| 7 | } |
| 8 | |
| 9 | div { |
| 10 | span { |
| 11 | @function length($a, $b, $c, $d) { |
| 12 | @return $a + $b + $c + $d; |
| 13 | } |
| 14 | |
| 15 | div { |
| 16 | content: foo(); |
| 17 | @include foo(); |
| 18 | width: length(1,2,2,3); |
| 19 | } |
| 20 | } |
| 21 | |
| 22 | height: length(a b c d e); |
| 23 | |
| 24 | } |