Questions tagged as 'sass'

1
answer

Evaluate variable in SASS

I'm working with SASS and I have a large color list that I need to try (and that can be changed later). I define the colors in their variables, two lists with the colors and their names, and I'm doing a loop with @each to generate the tes...
asked by 16.05.2017 / 14:49
1
answer

Loop for in Sass

I am learning SASS (with scss format) and I have a doubt with the for loop. I have 10 div and I want to give a order to each of them. Then I thought about this: The issue is that the nth-child () does not support the variable $ i. A...
asked by 02.08.2018 / 18:13
1
answer

Keyframes in SCSS

I have a mixin but applying it to an element does not apply correctly. MixS SCSS @mixin keyframes($property) { @-webkit-keyframes $property { @content; } @-moz-keyframes $property { @content; } @-o-key...
asked by 30.12.2018 / 17:01
2
answers

Label Select changed its style when it is MacBook

Greetings! I have an html tag called <select> with bootstrap class form-control this class adds some styles which are these: .form-control { display: block; width: 100%; height: 34px; padding: 6px 12px;...
asked by 11.09.2017 / 17:29
1
answer

Retrieve an original sass from a minified css

I have a css file that is minified with grunt. Because of an error, I keep the original sass out of the repository. I need to get the original sass from that css. greetings     
asked by 25.08.2017 / 18:15
0
answers

Count how many elements appear SASS?

I do not know if this is possible. I have elements of this type: <ul> <li></li> <li></li> <li></li> ... hasta n li </ul> What I need is to count how many there are to make a cal...
asked by 29.11.2018 / 15:46
0
answers

Problem compiling Sass in Atom (Win 10)

I am learning how to use Sass, in Windows 10 . I use the Atom editor and the Prepros preprocessor. I have Nodejs installed. The problem is that when I wanted to compile the sass file for the first time, I found this in Atom:    ["node-s...
asked by 24.08.2018 / 16:09
1
answer

Move an item within another SCSS

I have a web page and I am trying to move a link element "a" into an existing "div". The generated code would be something like this: <a href="google.es" class="download-link">Download file</a> <form> ... </form> &l...
asked by 09.07.2018 / 09:36
0
answers

Replace HTML marquee tag by effects with SASS

I'm having a little problem using the HTML%% tag (I know it's been deprecated or deprecated, but it was the only one that allowed me to give that effect), my text can contain up to 30 characters so it's very difficult to show it in a single line...
asked by 16.06.2018 / 03:39
1
answer

Carousel bootstrap is displayed incorrectly

I'm having problems with my Carousel in Bootstrap. I copied it as is, I downloaded jquery, bootstrap.js I also put the viewport <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8">...
asked by 24.05.2018 / 23:05