I am trying to show side-by-side 3 div for responsive, but the content is different from each other. So I tried with below code, But not working for me.
The code is below
https://www.w3schools.com/code/tryit.asp?filename=GTT6H8OFHT3Q
.col-container {
display: table;
width: 100%;
}
.col {
display: table-cell;
padding: 16px;
}
@media only screen and (max-width: 767px) {
.col {
float: none;
width: 100%;
}
}
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<h2>Equal Height Columns</h2>
<p>Make the columns match the height of the tallest column.</p>
<div class="col-container">
<div class="col" style="background:orange">
<h2>Column 1</h2>
<p>Hello World</p>
</div>
<div class="col" style="background:yellow">
<h2>Column 2</h2>
<p>Hello World! 1</p>
<p>Hello World! 2</p>
<p>Hello World! 3</p>
<p>Hello World! 4</p>
<p>Hello World! 5</p>
</div>
<div class="col" style="background:orange">
<h2>Column 3</h2>
<p>Some other text..</p>
<p>Some other text..</p>
</div>
</div>
</body>
</html>
Looking for the example Link is Paylocity Website.
Can you please suggest to design the same with html code?