Skip to main content

Questions tagged [sass]

Sass (Syntactically Awesome Style Sheets) is an extension of CSS adding features like nested rules, variables, mixins and class extensions. This enables developers to write structured, manageable and reusable CSS. Sass is compiled into standard CSS. It is primarily a CSS pre-processor language that accepts both the CSS and its personalised syntax of writing visual design codes.

0 votes
0 answers
15 views

My VScode does not watch when I use "-w" flag in my package.json

I'm working on a SASS and Bootstrap project in VScode and facing an issue where SASS doesn't watch or compile when I use the "-w" flag. It compiles without the "-w" flag but doesn'...
Amin's user avatar
  • 59
0 votes
0 answers
16 views

SASS throwing errors when using @use with mixins

I just started using SASS with Jekyll and I am encountering a strange issue when I started using @use. I have a mixin in another file, located in common/_theme-colors.scss: $logo-color-0: rgb(78, 184, ...
insertnamehere807434's user avatar
0 votes
1 answer
36 views

How to fix my SCSS so it's applying the text color?

might be best explain with an example this is the HTML snippet of my breadcrumb. This comes with its own breadcrumbs.scss. <div class="container"> <div class="cmp-container&...
mrjayviper's user avatar
  • 2,388
0 votes
0 answers
10 views

migrating node-sass to dart sass in react app and getting compilation error from react-dates package (da)

I am trying to migrate from node-sass to dart sass. I am also using react-dates package and including datePicker css file. color: darken(#cacccd,10%); function is being used in datePicker and I am ...
Komal Kanpariya's user avatar
0 votes
0 answers
30 views

CSS animations just stopped working on React

My css animations just stopped working and i have no idea why, this is a react project i'm working on to learn more about the framework, if someone knows why this happens it would help a lot, thanks. ...
ericericeri_'s user avatar
0 votes
0 answers
33 views

Media Queries Max-Width is not applied even though I am on mobile view (Browser)

I have a website in Astro and using SCSS. I have a weird bug with the media queries. I have this styling @media screen and (max-width: 768px) { .p-content { &_inner { ...
Haidepzai's user avatar
  • 990
0 votes
1 answer
26 views

How to prevent toggling an accordion in bootstrap when the user clicks on specific part of a button thats used to toggle an accordion

I am using bootstrap. Here, you can see this is a standard accordion. However, I want non-standard behaviour from it. When a user clicks on elements with the class 'option', it selects the 'suboptions'...
Haseeb Adnan's user avatar
-1 votes
0 answers
25 views

The responsivity of an application that already have too much screens and components

enter image description hereI'm dying of anxious, its been 1 month since I joined a new project, and started developing the front in the place of a software house. The problem is, the developer of the ...
Regis Freitas's user avatar
0 votes
0 answers
17 views

how to get vite to compile scss/sass

I have a scss file i need compiled into a css file to be included on a blade template. I have installed sass as a dependence. I have the scss file listed in the scss additional data. But during the ...
Michael LaPan's user avatar
1 vote
1 answer
26 views

"Error: Expected identifier" when trying to add utilities with Bootstrap 5

I want to add a new class for a background-color. Thus, I followed this step of Bootstrap documentation and I wrote that: @import "./BOOTSTRAP-CSS/scss/functions"; @import "./BOOTSTRAP-...
Yvialga's user avatar
  • 33
1 vote
1 answer
34 views

How do I keep sticky buttons aligned to left and right inside a Scrollable Div?

I have a product page that is horizontally scrollable, I trying to keep the buttons to the right and left to scroll, however, I am not able to set the Top position to those. Here is the code <div ...
Sam K's user avatar
  • 416
0 votes
1 answer
53 views

Flexbox with column is not providing the desired output in CSS

I have an HTML layout styled with flexbox, but the current CSS isn't achieving the desired layout. I want the second row of the second column to begin immediately after the first columns second row. ...
Someshver Thakur's user avatar
0 votes
0 answers
16 views

sass mixin - variable hint

lets say I have a mixin with a couple of variables: @mixin heading($fow: 900, $mb: 1.6rem) { font-size: clamp(2rem, 1.3077rem + 3.4615vw, 3.125rem); font-weight: $fow; margin-bottom: $mb; font-...
Timmy's user avatar
  • 63
0 votes
1 answer
18 views

Scss - How to add suffix and select as direct child element

Here is my code: .a { > .b { > .c { & > &__content { background: black; } } } } What I want: .a > .b > .c > .c__content { background: black;...
Jin's user avatar
  • 87
1 vote
1 answer
52 views

how to resize image (background) only for width (height is static)?

I have to get the result: the background image should shrink to fill the entire screen without changing height; so depends on the device width: image width = device width and image height is always ...
Danil Diachenko's user avatar

15 30 50 per page
1
2 3 4 5
1841