@anasdwc
Posted
Hello @LucasHMelo 👋
- For background image, you can add some value for positioning your image
Documentation 📓:
https://developer.mozilla.org/en-US/docs/Web/CSS/background-position
- You can add some value to
background-position
Code ⌨️:
body {
background-image: url(../../images/bg-pattern-top.svg),
url(../../images/bg-pattern-bottom.svg);
background-position: top -380px left -110px, bottom -350px right -150px;
background-repeat: no-repeat;
background-size: contain;
}
- It's better if you use the
img
HTML syntax instead of using thebackground-image
in CSS.img
HTML is also easier to customize.
Feel free to reach me out 🍻