sass Questions
3
Solved
I'm using React with ViteJS and SASS, but i have a problem. It seems there is not autoprefixer for CSS/SCSS when i will build the project.
How to add an auto-prefixer with ViteJS and SASS?
Greenhead asked 9/3, 2022 at 19:28
2
Solved
Since angular 13, using a tilde (~) to import SCSS files from the node_modules
close.component.scss
:host ::ng-deep {
// Configuration
@import "~bootstrap/scss/functions";
@import &quo...
Bayonne asked 26/9, 2022 at 11:54
2
Solved
I have make thin scrollbar in Firefox for this css:
scrollbar-width: thin;
scrollbar-color: rgba(155, 155, 155, 0.5) transparent;
it's worked for firefox.
Now i need to make thin scrollbar in c...
3
I'd like to define my own color variables in my SCSS, but how?
I checked this website and did everything that is described there.. but it doesn't work.
I have installed a preprocessor already!
F...
Stagner asked 2/4, 2019 at 8:30
5
Solved
I've been set the task of adding a toggle on an angular web application which will allow users to switch from the default light mode theme to a dark mode theme. I can't find a way to successfully i...
2
I can configure webpack to allow includes of scss.
Note: Working with classNames on the original html is faster when copying code between static html to React components, which is why I want to do ...
6
I use browserify to transform my code now getting error while the sass files were getting imported
@import parse error
Can any one help me to sort this issue how to use and integrate
3
I'm using macOS Catalina 10.15.3.
I'm generating thumbnail images with this Jekyll theme, and when I enter gulp img, that error occurs.
Requiring external module babel-register
~/node_modules/nod...
4
I created new angular project with sass, and I created folder with name sass which contain a file named _variables.scss,
in app component I tried to import variables like this.
@import 'variable...
6
Solved
I got a rather simple problem with a VueJS component that needs to use a variable. The problem comes with getting sass to register variables inside a component.
I tried importing the _variables.sc...
Sinistrous asked 23/2, 2016 at 14:53
2
Solved
When working on web projects I'm using css preprocessor SASS with SCSS syntax. In the comments, I like to write what the following code does, I write comments in my language (in czech). Unfortunate...
2
Solved
Sonarqube is displaying errors for empty css/scss files in the Angular application. What are the effects of having empty scss files? Do they cause issues with performance, side bugs/errors, future ...
2
Solved
I am trying to use a variable that was declared on one partial inside of another partial, both of which will be loaded into the main.scss file using @use, which will then be compiled into css.
Here...
3
I'm confused about the idiomatic way to process Sass in Rails 7.
The README.md for the importmap-rails repo says:
This frees you from needing Webpack, Yarn, npm, or any other part of the JavaScrip...
Colwen asked 23/2, 2022 at 5:5
3
Solved
I am searching for a solution for compiling my .scss files at run-time and at compile-time.
The reason I need both is that our designers work on Macs and prefer the ease of having their .scss file...
Awash asked 16/5, 2013 at 21:56
2
Solved
I'm trying to change the SweetAlert2 popup icon colour for swal2-error.
I've changed the variable colour in the node package for it, & put the variable in both my components scss & my glob...
Mullion asked 26/7, 2018 at 12:26
1
Solved
I've just learn I should use @use instead of @import in sass. But as I understood, I should use npm sass instead of npm node-sass to do that. What is the difference between these two ? Why @use and...
Canute asked 4/5, 2021 at 17:46
5
I am trying to handpick the parts of a certain theme/plugin we want to use in our site by tinkering with the source SCSS files. The theme in question is Vali Admin.
I haven't used SASS or LESS in ...
Niehaus asked 13/11, 2019 at 11:18
1
Solved
Can somebody help translate bracket usage in Tailwind.css?
In Example 1: what does [&_*] mean?
In Example 2: what does the nested bracket combined with _& mean?
Example 1:
document.documen...
Reeves asked 9/9, 2022 at 18:8
4
Solved
I'm looking a way of modifying a CSS variable as you would in SCSS
Define a color like primary - and automatically I would get shades for focus and actives states.
Basically, would like to change...
Matron asked 25/3, 2019 at 0:44
2
Solved
In variaous React documentation I see it being added as a prod dependency but I'm not understanding why. Shouldn't it be a devDependecy since SASS only gets compiled during development and when pus...
Gorgonzola asked 10/3, 2019 at 15:46
5
Solved
I have a bit of a brawl with my team leader about the usage of media queries.
There are 2 methods (from what i can tell) about using media queries.
Method 1:
@media only screen and (max-width: 600p...
Gt asked 23/6, 2020 at 6:52
5
Solved
The twitter bootstrap code has a lot of CSS properties with a !default at the end.
E.g.
p {
color: white !default;
}
What does !default do?
UPDATE
My bad for not being clear. I am using the ...
Valuator asked 17/5, 2012 at 20:35
2
Solved
In my Vue 2.6.10 webpack application I am trying to add SASS as our team wants to migrate our legacy application from LESS to SCSS. In my package.json I have installed these to my devDependencies p...
6
Solved
I tried the following, however I look at the CSS source and it does not minify! I restarted the server several dozen times. I turned off cache in the browser. I also tried the 'yui-compressor' gem....
Nitpicking asked 6/3, 2014 at 5:22
© 2022 - 2024 — McMap. All rights reserved.