.card {
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
transition: 0.3s;
}
.card:hover {
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2);
}
.container {
padding: 2px 16px;
}
.card {
width: 50%;
height: 50%;
}
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<div><input type="text" id = "1" name="dataKey" placeholder="Enter id you want to search" required>
<button type="submit" value="Submit" onclick= goodfunction()>Submit</button></div>
<p></p>
<div class="card">
<div class="container" id="101">
<h4><b>PRODUCTID</b></h4>
<p>IT WILL DISPLAY THE PRODUCTID </P>
<h4><b>TERRITORY</b></h4>
<p1>IT WILL DISPLAY THE TERRITORY</p1>
<h4><b>LANGUAGE</b></h4>
<p2>IT WILL DISPLAY THE LANGUAGE OF MOVIE</p2>
<h4><b>STARTDATE</b></h4>
<p3>IT WILL DISPLAY THE STARTDATE</p3>
<h4><b>ENDDATE</b></h4>
<p4>IT WILL DISPLAY THE END DATE</p4>
<h4><b>EXCLUSIVITY</b></h4>
<p5>IT WILL SHOW THE EXCLUSIVITY</p5>
<h4><b>ACQUIRING DIVISION</b></h4>
<p6>IT WILL DISPLAY THE ACQUIRING DIVISION</p6>
<h4><b>PRODUCT TITLE</b></h4>
<p7>IT WILL DISPLAY THE PRODUCT TITLE</p7>
<h4><b>MEDIA</b></h4>
<p8>IT WILL DISPLAY THE MEDIA RIGHTS</p8>
<h4><b>FORMAT</b></h4>
<p9>IT WILL DISPLAY THE FORMAT</p9>
<h4><b>OWNER</b></h4>
<p10>IT WILL DISPLAY THE OWNER OF THE MOVIE</p10>
</div>
I have designed a card for displaying data in two columns, but I am facing issues with dividing it properly to avoid scrolling.
Despite using various methods for division, the desired result has not been achieved, and I require assistance with this task.
Your help is greatly appreciated.