Questions tagged as 'sass'

0
answers

Extract piece of SASS code

Hello, I'm creating a branch break using SASS but it has a piece of code that repeats a few times and I do not know how to extract it. @while $newColumn <= $columnNumber { .col-#{$newColumn}{ $calcWidth: (100% / $columnNumber) *...
asked by 03.12.2017 / 11:29
0
answers

CSS Ionic 1 works correctly on Android, but not on iPhone OSx

My layout, some things in it, work great on Android with Windows. Switching to Mac OSx, creating the project and copying everything. When I scroll like ionic server or ionic server --lab Both are left without my CSS applied correctly....
asked by 26.10.2017 / 16:32
0
answers

Gradient in Sass [closed]

I'm setting up my project, and there's a bar I'd like to put a gradient with three colors, a light red, a dark red, and a light red again, how would that gradient in sass? è this Bar I only managed to leave a two-color gradient     
asked by 13.06.2017 / 21:22
1
answer

How to import external CSS

Hello, I'm using the compass and would like to know how I can import an external file from my sass-configured folder. This is how scss works: @import "../../node_modules/angular-material/angular-material.min.css"; @import "compass/css3"; @i...
asked by 16.03.2016 / 19:22
2
answers

Sass does not rewrite files with a prefix

I copied some .scss files to my project, these files are prefixed _ in name (eg _style, _mediaqueries, etc.). The compass rewrites all files normally, except those that have prefixes. Some people told me this should not interfere with Sass's beh...
asked by 25.08.2015 / 19:00
2
answers

best way to do sprites in SASS

I'm doing a sprite with sass as below, but I would like to know if this way is correct or not, or if there is a better way. $sprites: bovino, suino, aves, embutidos, congelados, ovinos, laticinios; .icon-sprite { background-color: transp...
asked by 12.02.2015 / 19:35
3
answers

Remove spacing created between image and div

I would like to understand why a spacing between the image and the div is created? As you can see by adding the red background. And how to fix without using position or margin and padding negatives? .box-img { width...
asked by 23.06.2017 / 18:56
2
answers

Main differences between structuring CSS with PHP and LESS / SASS

In many projects I have been writing CSS with PHP , which is a practice that is very unknown but that attends to all the dynamization needs, for example ... CSS <?php header("Content-type: text/css"); $cor_fundo = "#999";...
asked by 12.09.2017 / 15:59
2
answers

Gulp Sass does not work

So far everything worked on gulp perfectly, minus the sass. My Code: var sass = require('gulp-ruby-sass'); gulp.task('styles', function(){ gulp.src('./src/scss/**/*.scss') .pipe(sass()) .pipe(gulp.dest('./src/css/')); }) gulp....
asked by 28.01.2015 / 22:07
1
answer

Hover with scale only in parent div

I want to apply a div where I change the background to purple and the texts and image to white until there works normal the problem is that I wanted to apply a divs in the background that became purple with css more doing thi...
asked by 10.03.2018 / 18:50