scss-lint is a tool to help keep your SCSS files clean and readable. This tag should be used only in case of problems with the tool itself and not in case of SASS / SCSS problems
Questions tagged [scss-lint]
177 questions
0
votes
0 answers
Floatable in HTML more then one all labels are Floating
I am trying to create custom Float label in Ionic but once field it woks . More then once Field all labels are floating when we click on any input Pls help me this
This is my HTML code:
Input.htmls
0
votes
1 answer
how to use ng-class with multiple condition in ionic 5
i created quiz app with ionic and angular, i want to implement when user choose correct answer the button should change to green, and when choose the wrong answer the button should change to red and show the correct answer with green color. bellow…

Jimmy Boaz
- 1
- 2
0
votes
0 answers
Different banner image used for desktop and mobile screen sizes
I'm having trouble with change banner image with the screen size. I need to use large image for large screen sizes and different image for mobile devices.
This is the home page code looks like

dglumesh
- 101
- 1
- 4
- 15
0
votes
2 answers
Is there a way to resolve the Stylelint error for semicolons in CSS variables?
React.js
Css in JS(Emotion)
It consists of the above.
Stylelint is configured as follows.
module.exports = {
extends: [
"stylelint-config-standard",
"./node_modules/prettier-stylelint/config.js",
],
ignoreFiles:…

C.V.Alkan
- 79
- 1
- 7
0
votes
1 answer
Hide or Show Transfer Icon
I am trying to Hide Transfer Button If an account is a negative value or Show Transfer if an account is a positive value.
I want to check if the amount is negative then Hide Transfer Button if the amount is positive then show Transfer…

doctore
- 324
- 1
- 3
- 14
0
votes
0 answers
Why PhpStorm won't validate sass correctly?
I am having a hard time getting PhpStorm to validate my scss correctly.
It is throwing unnecessary errors.
Like this:
In this picture, for instance, it is obvious that $color-name exists in the parameter listing.
What is it that might be causing…

Samantha Rocker
- 157
- 1
- 10
0
votes
1 answer
How can i fix the css stylelint errors caused by sass / scss?
I am using Sass(scss) as the css pre-processor for my project. But when i run stylelint for the .css files compiled by sass, it returns very many errors which you cant fix directly in the .css files because these files are compiled by sass. Anything…

Phillip Musiime
- 167
- 2
- 12
0
votes
1 answer
HTML a can't change size or be moved
I have an anchor element, inside a div, and it can't be resized or moved up or down and when I add padding to it, it just covers his sibling element, I tried using trasnfrom-translate, margin, and nothing happened.
HTML-Code:

Jesús Bohorquez
- 65
- 1
- 7
0
votes
0 answers
background property not working in Vue.js
Background properties are somehow not working inside my scss file, all other properties do work.
when i use this for example
scss file:
body {
background: #202020;
font-size: 62.5%;
}
browser never returns background (i tested this with…

DutchPrince
- 333
- 2
- 16
0
votes
1 answer
How can I insert Image on select tag in ionic 4?
Here is my code:
home.page.html
select your country

Binita Doriwala
- 459
- 3
- 16
0
votes
2 answers
How to change input name background?
When I click the mouse on input, Drop down the mailing list, When I bring the mouse to Miles Is changing input background. As shown in the photo.
How to remove or change this time input background?
I have already tried "focus", But it didn't…

jhon
- 13
- 2
0
votes
1 answer
Restrict Hover functionality for Mobile
We need to implement hover only for desktop but not to any other devices like (mobile and ipad).
@media (hover: hover),
@media (hover: none) and (pointer: coarse)
We have tried restricting using these media queries:
@media (hover: hover) and…
0
votes
2 answers
sass variable interpolation in each loop
I am trying to use variable inside each loop but it doesn't seem to be working.
$font-size-40: .5rem;
$font-size-50: .625rem;
$font-size-60: .75rem;
$fonts: 40 50 60;
@each $font in $fonts {
.font-size-#{$font} {
font-size:…

Yogesh
- 331
- 1
- 4
- 10
0
votes
0 answers
Component with various size
I'm a newbie in React and I implemented a stateless component, (a "card") which I use very often. But I need it to be available in 3 different widths : Small, medium and large. I was wondering what was the best way to implement it? My first idea was…

The Questionner
- 99
- 1
- 7
0
votes
3 answers
Learning SCSS from old CSS code - how to rewrite this?
I'm a beginner using SCSS and I'm not sure how to rewrite my old CSS into something new using SCSS for a TypeScript project, right now I picked a few examples below to ask this question, if somebody could show the right way, I guess I can figure the…

Mr. Dr. Sushi
- 469
- 8
- 22