Questions tagged as 'sass'

1
answer

sass - how to compile the mined file?

I use sass to help with development, but would like to optimize the final result of the generated css, would it have some way of generating the already mined .css file? I use the following command to compile the .scss files sass --watch scs...
asked by 30.04.2015 / 20:32
2
answers

How to remove automatic comments generated by Compass?

I write the code in SCSS, and when I generate the CSS it comes with comments of where the Class or ID is in my SCSS. Does anyone know how I can remove these comments generated by the compass from my CSS file?     
asked by 10.03.2014 / 20:07
2
answers

Alignment Gif Loading

Hello, I have the following code: link I'm trying to align it so that it stays centered on the screen regardless of screen size or orientation (whether a cell phone vertically or horizontally), but without success. Any suggestions?...
asked by 21.02.2017 / 19:05
2
answers

Dynamic redirect with CSS or SASS

I have a website, and I'm working responsiveness on it. I have a mobile version, similar to a Web app, in a specific directory within the project. Currently when the screen resolution is less than 768px, it automatically redirects to the mobile...
asked by 18.04.2018 / 19:53
1
answer

Increase margin in pixels in sass

I need to create margins, top, right, left and bottom, I would like to loop in sass from 0 to 100. Final CSS would look something like this: margem-top: 1px; margem-top: 2px; margem-left: 66px; margem-left: 88px; margem-bottom: 15px; margem-...
asked by 31.01.2017 / 17:43
1
answer

Import CSS files with SASS

I'm starting in SASS and I'm trying to make a CSS file that will be a combination of several plugins that are in .css format (bootstrap, fontawesome, etc.) and for this I'm using SASS, but it's not working in this case , it's returning me the sa...
asked by 26.10.2016 / 18:56
1
answer

Bootstrap sass, what is the best way to avoid attribute redundancy

I'm using the sass version of the boostrap, and I'd like to know the recommended practice. I have the original% bootstrap% and I have my personal assets that I believe overwrite those of the boostrap, so I do not move in the boostrap o...
asked by 18.11.2015 / 02:48
1
answer

Responsive typography (Flow Text css)

Well, I was studying about responsive texts and found the css class of Materialize that leaves the texts responsive according to width of the screen. Open the source code to try to understand how it worked but can not, can anyone help me? //...
asked by 01.06.2015 / 22:08
2
answers

SASS - Color group for reuse

I'm starting in SASS, and I have a problem that I can not solve. I have a color group, which will be used in several sessions of my site. Basically, I have a structure like this: <section id="lista-noticias" class="regioes"> <...
asked by 29.05.2017 / 18:00
1
answer

Importing Boostrap.sass

I installed Bootstrap SASS in my project through NPM. After installation I tried to import the Bootstrap files into my CSS folder by creating an SASS file and gave the command @import ../bower_components/bootstrap-sass/assets/stylesheets/boots...
asked by 21.05.2017 / 20:10