Francesco• 270
@FraCav99
Posted
Hi, nimbul30!
Instead of:
background: url(./images/pattern-background-desktop.svg) no-repeat center/cover;
height: 50vh;
try this:
background-image: url(...);
min-height: 100vh;
background-size: 100% 50%;
background-repeat: no-repeat;
A useful tip is, if you have to give an height, in most cases it's better to use min-height.
Here an explanation on why.
Hope this is useful and happy coding!
Marked as helpful
0