Questions tagged as 'scss'

2
answers

Can I abbreviate input types in Sass?

Writing some code using Sass I found this: input[type="text"]:focus { border: 3px solid #AFDDFB; transition: 100ms linear; } But I need to cover other types of Input, like this: input[type="text"]:focus, input[type="password"]:focus...
asked by 10.09.2016 / 20:40
1
answer

What does it mean in sass / scss "&"?

I found this in a sass/scss file of Bootstrap v4 : .nav-pills { .nav-link { @include border-radius($nav-pills-border-radius); &.active, .show > & { /* <-- !!! */ color: $nav-pills-link-active-color;...
asked by 02.10.2017 / 15:26
3
answers

How to change the css styles of a select options?

I want to change the appearance of the box that contains the options of a select , use the selector of the option tag, to modify the options, and although if you change the select options, it is still contained in a box with...
asked by 30.05.2017 / 16:35
1
answer

scss does not apply to jsfiddle

I have a jsfiddle and tried to apply styles with scss but they are not applied. The results should look like this other . Why is not the conversion of
asked by 05.01.2016 / 17:58
1
answer

Define variables with recurring names in Compass (SASS)

I need to define 100 variables which are composed of a prefix and the number such that: $negro_trans1 : rgba(0,0,0,.01); $negro_trans2 : rgba(0,0,0,.02); $negro_trans3 : rgba(0,0,0,.03); $negro_trans4 : rgba(0,0,0,.04); $negro_trans5 : rgba(...
asked by 04.12.2018 / 14:01
0
answers

Is there any way to add icons to the Ionic 2 alert?

I am modifying the appearance of the components that ionic brings, but I still need to add icons to this alert. since for example I create a class in scss. I do not add this correctly, and if it is not possible. I wanted to modify a modal. but t...
asked by 13.02.2018 / 22:40
1
answer

how to use cal () with sass in loop @for

I need to generate with sass, for each of the created classes, a flex: 0 0 calc(numeroGrid% - 30px) . I have the following code: @mixin grid-generator($size) { @for $i from 1 through 12 { .col-#{$size}-#{$i} { flex: 0 0 percen...
asked by 02.11.2018 / 14:42
1
answer

Change of order in nav because of the css

I have a problem with my browser and it is that when I put it in the position I want (on the right side) it changes all the order that I have given it in the HTML. Is there any solution? I leave the code here and many thanks in advance. HTML...
asked by 30.06.2018 / 15:03
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
2
answers

reboot scss bootstrap 4

I have problems with the bootstrap reboot.scss using the css I ask for the change of the white color label and the reboot.scss is put before my change, I do not know what this is due to. Note: I'm practicing with wordpress, that's why the image...
asked by 14.02.2017 / 20:15