+ 8
Pls can anyone tell me what's wrong here.
12 Antworten
+ 1
Sumayyah Fahm Your code comes with scss, not css style codes.
You need a scss template to achieve it, please use this template
https://code.sololearn.com/WUDrkli0UntQ/?ref=app
Here is your slider with scss codes, i have added some values on $slide-height and $slide-width scss variables.
https://code.sololearn.com/Wz7eZ3Z3raPK/?ref=app
+ 7
yeah - thats the mess if a beginner copies code. Things like this happen.
Dont worry too much. Copying as base for own experience ist not so bad.
Looks like u copied from codepen.
If it is valid SCSS, find an online converter scss to css and replace with vanilla css.
+ 2
Ok it's a slider but the images are not sliding
+ 2
$slide-width is not vanilla CSS syntax
+ 2
It is what we call scss
+ 2
Advanced css
+ 2
But I don't know scss I just copied the code
+ 2
Calviղ ty!
0
Sorry but what is $slide-width in width: $slide-width ? I haven't seen anything like that yet .
0
Ok ,ty!
0
You can use animation key frames of css it will helpful for you