Scss allows you to define a function by itself:
@function grid-width($n) { @return $n * $grid-width + ($n - 1) * $gutter-width; }
Can I write the same thing in Sass (indented syntax)?
OK, well, I fed it to sass-convert and got
@function grid-width($n) @return $n * $grid-width + ($n - 1) * $gutter-width
Source: https://habr.com/ru/post/1382335/More articles:ASP.NET MVC 3 - Model Validation - validationHow to log in after registration in yii - phpNSString: why use static over a literal? - staticColumn name in JTable - javaHow to get pixel value in grayscale image - javaOracle's limitation of providing a specific value once per foreign key value is sqlHow do hash table indexes work? - hashtableProblem deleting all nodes from an XML file using LINQ - c #change height statusStrip - c #How to efficiently search for the last record matching a condition in Rails and PostgreSQL? - ruby-on-railsAll Articles