@paulo-xavier
Posted
Hi! I spent many hours in this background too. My strategy to solve this was adding the two images in a <img> tag and then I positioned them using the "position: relative" and the basic properties for top and left.
HTML
<img class="bg-top" src="./src/images/bg-pattern-top.svg" alt="Bubble background">
<img class="bg-bottom" src="./src/images/bg-pattern-top.svg" alt="Bubble background">
CSS
.bg-top {
position: relative;
max-width: 800px;
height: auto;
left: -490px;
top: 311px;
}
.bg-bottom {
position: relative;
max-width: 800px;
height: auto;
top: -177px;
right: -418px;
}
Probably not the best solution as possible, but it worked for me! 😀
Marked as helpful
@moncadad
Posted
@paulo-xavier thanks for the feedback i'll add this to my list for future refrence! :)