Can't Extend Height of Contact Form

The bottom of my contact form is not showing and is going underneath my footer. Could someone help me out?

<div class="page4">
<div class="content2">
	<div class="left-side">
		<div class="address details">
			
			<div class="topic">Address</div>
			<div class="text-one"> New York, New York USA </div>
		</div>
		<div class="phone details">
			
			<div class="topic">Phone</div>
			<div class="text-one">+1 777 890 7282</div>
		</div>
		<div class="email details">
			<i class="fas fa-envelope"></i>
				<div class="topic">Email</div>
				<div class="text-one">website@gmail.com</div>
				</div>
			</div>
<div class="right-side">
	<div class="topic-text">Send us a message</div>
	<p> Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut non purus varius, faucibus odio quis, cursus quam. Ut venenatis tincidunt lacus ac sollicitudin. </p>
	<form action="#">
		<div class="input-box">
			<input type="text" placeholder="Enter your name">
		</div>
		<div class="input-box">
			<input type="text" placeholder="Enter your email">

			<div class="input-box message-box">
          <input type="text" placeholder="Enter your message">
        </div>
		</div>
		<div class="button">
			<input type="button" value="Send Now">
</div>
</form>
</div>
</div>

</div>
.page4{
	width: 100%;
	height: 100%;
	background: #fff;
	border-radius: 6px;
	padding: 20px 60px 30px 40px;
	box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.page4 .content2{
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.page4 .content2 .left-side{
	width: 25%;
	height: 100%;
	display: grid;
	flex-direction: center;
	align-items: center;
	justify-content: center;
	margin-top: 15px;
	position: relative;
}

.content2 .left-side::before{
	content: '';
	position: absolute;
	height: 70%;
	width: 2px;
	right: -15px;
	top: 50%;
	transform: translateY(-50%);
	background: #afafb6;
}

.content2 .left-side .details{
	margin: 14px;
	text-align: center;
}

.content2 .left-side .details i{
  font-size: 30px;
  color: #3e2093;
  margin-bottom: 10px;
}
.content2 .left-side .details .topic{
  font-size: 18px;
  font-weight: 500;
}
.content2.left-side .details .text-one,
.content2 .left-side .details .text-two{
  font-size: 14px;
  color: #afafb6;
}
.page4 .content2 .right-side{
  width: 75%;
  margin-left: 75px;
}
.content2 .right-side .topic-text{
  font-size: 23px;
  font-weight: 600;
  color: #3e2093;
}
.right-side .input-box{
  height: 50px;
  width: 100%;
  margin: 12px 0;
}
.right-side .input-box input,
.right-side .input-box textarea{
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-size: 16px;
  background: #F0F1F8;
  border-radius: 6px;
  padding: 0 15px;
  resize: none;
}
.right-side .message-box{
  min-height: 110px;
}
.right-side .input-box textarea{
  padding-top: 6px;
}
.right-side .button{
  display: inline-block;
  margin-top: 12px;
}
.right-side .button input[type="button"]{
  color: #fff;
  font-size: 18px;
  outline: none;
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  background: #3e2093;
  cursor: pointer;
  transition: all 0.3s ease;
}
.button input[type="button"]:hover{
  background: #5029bc;
}
@media (max-width: 950px) {
  .page4{
    width: 90%;
    padding: 30px 40px 40px 35px ;
  }
  .page4 .content2 .right-side{
   width: 75%;
   margin-left: 55px;
}
}
@media (max-width: 820px) {
  .page4{
    margin: 40px 0;
    height: 100%;
  }
  .page4 .content2{
    flex-direction: column-reverse;
  }
 .page4 .content2 .left-side{
   width: 100%;
   flex-direction: row;
   margin-top: 40px;
   justify-content: center;
   flex-wrap: wrap;
 }
 .page4 .content2 .left-side::before{
   display: none;
 }
 .page4 .content2 .right-side{
   width: 100%;
   margin-left: 0;
 }

do you have it live somewhere? like in “repl/codepen/others”?

  • try giving “fixed height” to “right hand side” or “container div”

happy coding :slight_smile:

Add the height/min-height directly to the form elements and remove the 100% height from them.