MaximilianoDanielGarcia• 2,000
@MaximilianoDanielGarcia
Posted
Hi Matias, great job!
If you want to add a gradient and an image at the same time you can put two values in background-image
separated by comma. Here, a fragment of my code that it will be helpful for you.
header {
background-image: url('./images/bg-pattern-intro-desktop.svg'), linear-gradient(to right, hsl(13, 100%, 72%), hsl(353, 100%, 62%) 70%);
background-size: 200%;
background-position: 20% 53%;
}
Marked as helpful
0
Matias Rojo• 700
@matiasroj0
Posted
@MaximilianoDanielGarcia thanks!!!!! i didn't know you could add two values in the background-image property. very helpful!
0