Here is my expected output:
Here is my produced output with width of 375px
.
and here is at 767px
:
Here is my css code:
.content{
width:100%;
background-image:
url("./../../images/small/tantum-winter-home.jpg"),
url("./../../images/small/tantum-dotts-house.png"),
linear-gradient(90deg,#e8e6e6 50%, rgba(0,212,255,0) 20%);
background-repeat: no-repeat, no-repeat;
background-position: 65% 20%, right 56% bottom;
height: 35rem;
}
I am facing 2 issues here:
- the dotted pattern is not exactly starting with all sizes ( see 767px)
- how to limit the gradient with some point in down.(should stop at where dotted pattern start ) which applied across height at present.
Here is a different idea that works better for responsive:
You can replaced the radial-gradient with your png and have the following: