ChrisPTaco
ChrisPTaco
KPCKevin Powell - Community
Created by ChrisPTaco on 3/21/2024 in #front-end
Trouble having elements layered properly
I'm working on a project and I ran into this problem. Simplified version of the code I'm using: https://codepen.io/chrispitts/pen/WNWpmWb?editors=1111 The pen shows exactly what I want the result to look like, however the issue with it is that the button isn't clickable. Essentially I want the layout order from top to bottom to be like this: div.progress-circle div.progress-circle::after button How would I do this while still being able to click on the button?
2 replies
KPCKevin Powell - Community
Created by ChrisPTaco on 3/8/2023 in #front-end
Sass @use won't import partial
I'm working on a project with vite. I'm trying to import a partial, but for some reason I keep getting an error saying can't find stylesheet to import File structure:
/src
/css
/components
_Nav.scss
/variables
_colors.scss
App.scss
/src
/css
/components
_Nav.scss
/variables
_colors.scss
App.scss
App.scss
@use 'variables';
@use 'components';
@use 'variables';
@use 'components';
Error Message
[plugin:vite:css] [sass] Can't find stylesheet to import.

1 │ @import 'variables';
│ ^^^^^^^^^^^

src\css\App.scss 1:9 root stylesheet
[plugin:vite:css] [sass] Can't find stylesheet to import.

1 │ @import 'variables';
│ ^^^^^^^^^^^

src\css\App.scss 1:9 root stylesheet
5 replies