I am trying to overlap two SVGs that were previously one SVG - I just separated the layers so I would have more control.
Here is my code:
<Grid container direction="row" justify="center" style={{ height: '90vh', paddingTop: 80, backgroundImage:`url("/media/bg/bg-2.svg")`, backgroundSize:'cover'}}>
<Grid item sm={5} style={{ color: 'white', maxWidth: 500, paddingTop: 140 }}>
<h1 style={{ fontWeight: 700, color: '#E2A2A5' }}> Lorem Ipsum </h1>
<p style={{fontSize: 20}}>
Lorem Ipsum
</p>
</Grid>
<Grid item sm={6}>
<img src={toAbsoluteUrl('/media/images/computer.svg')} alt="computer" />
<img src={toAbsoluteUrl('/media/images/book.svg')} alt="book" />
</Grid>
</Grid>
My aim is to get the two SVGs sitting on top of each other like this
I am aware that it may be a SCSS/CSS problem, but no idea what kind of code would give me the desired results.
All help greatly appreciated :)