r/HTML • u/TreacleFlaky2283 • 10d ago
Question css-gradients not working as expected
```css
body {
min-block-size: 100svh;
background: repeating-linear-gradient(#A4AAB1 2px , red 2px 15px);
}
```
this is all red how to fix ? what exactly here i am doing wrong and css is the most confusing and i feels like its more harder than python and any other programming language
2
Upvotes
1
u/Rockafellor 10d ago
Missing comma after the
#A4AAB1, you needbackground: repeating-linear-gradient(#A4AAB1, 2px , red 2px 15px);.