So on my website, I use two columns with modules in them to display information in them like this:
however I myself am working on vertical monitors and so when I change the width to a more landscape format, it looks like this:
currently the css code I'm using looks like this:
.module2 {
display: block;
border-radius: 0px 0px 25px 25px;
background: url(wallparapet.png) no-repeat;
background-size: cover;
width: 85%;
height: 250px;
margin-top: 30px;
margin-bottom: 30px;
margin-right: auto;
margin-left: auto;
}
.module2inside {
width: 90%;
height: 75%;
top: 20%;
border-radius: 25px;
position: relative;
margin: 0 auto;
background-color: #FFF;
background-color: rgba(255, 255, 255, 0.8);
}
module2inside representing the translucent inside with the actual content and module2 being the background to it. module2inside is just a div inside module2. So what can I do so that the inside stays underneath the cutout area no matter what the width of the page.