Questions tagged as 'sass'

3
answers

SASS and SCSS: why use them instead of conventional CSS?

I often hear about SASS and SCSS, but I do not know exactly how these tools work. I just know they are CSS generators (?). I found a related question here but it does not address the question of why it uses them, just the syntax differenc...
asked by 30.04.2018 / 17:53
2
answers

What is the difference between a mixin and a function in SASS

In% w / w we have two reusable code snippets: function and mixin. Function example: @function border-default($color) { @return border: 1px solid $color: } Mixing example: @mixin border-default ($color) { border: 1px solid $colo...
asked by 10.02.2016 / 18:17
2
answers

How to return color in hexadecimal form randomly

I'm wanting every build to change the css of my application in a random way. Example: $menu-color: #0097a7; // retonar apenas uma cor $menu-color: random(#0097a7,#FAFAFA,#7FB800); // retorna uma color aleatoria. As random returns only...
asked by 26.10.2017 / 16:03
1
answer

Sass does not compile special character

I have an :: after in my sass code with the "m²" content, the point is that once compiled the ² becomes error: It is printing in UTF-8 (@charset "UTF-8";), I really do not understand the reason for the error.     
asked by 29.08.2018 / 16:55
1
answer

Error 404 in SASS

Hello. I installed an Opencart module in a store version v1.5.6.4 and saw that the scss of this module is not being found (error 404) even though it is on the server and the correct folder. The header looks like this: <?php if (isset($_S...
asked by 03.02.2017 / 07:56
2
answers

how to work with SASS / LESS in real time?

Recently I paid attention to preprocessors of css as less and sass because I saw advantages in using them, but I see the necessity of a workflow so that css generated compiles automatically. At first, how do you get t...
asked by 14.09.2017 / 14:44
1
answer

Concatenate multiple sass / css files in a single final css

I'm using laravel 5.4, which by default brings a webpack.mix.js file which will be the files to be concatenated and their destination. My problem is concatenating scss files with css , what I have in webpack.mix.js...
asked by 23.08.2017 / 19:09
2
answers

Concatenate .sass files with Compass

I'm trying to concatenate (unify) multiple .css files generated from SASS and I'm using Compass to process my files. I'm using Grunt to perform some tasks, including concatenating files, however as I try to merge the generated .css files, man...
asked by 30.01.2014 / 20:52
1
answer

Problem using MAP in Sass

As released on the Sass blog from version 3.3 is available the creation of map in Sass (basically an object). I have the following version of Sass (properly updated by GEM): $ sass -v Sass 3.3.5 (Maptastic Maple) And with the follo...
asked by 16.04.2014 / 12:59
1
answer

What does @ at-root do?

Well I used the translator to read this SASS documentation and I did not understand the what he can do ... Then: What does @at-root do?
asked by 24.06.2016 / 23:24