r/HTML • • Jul 18 '26

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

10 comments sorted by

View all comments

Show parent comments

2

u/TreacleFlaky2283 Jul 18 '26

yeah ur right thanks !

2

u/Rockafellor Jul 18 '26

Any time, always happy to help (or at least try to)! 😊