<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.container {
border: 2px solid #ccc;
background-color: #eee;
border-radius: 5px;
padding: 16px;
margin: 16px 0
}
.container::after {
content: "";
clear: both;
display: table;
}
.container img {
float: left;
margin-right: 20px;
border-radius: 50%;
}
.container span {
font-size: 20px;
margin-right: 15px;
}
@media (max-width: 500px) {
.container {
text-align: center;
}
.container img {
margin: auto;
float: none;
display: block;
}
}
</style>
</head>
<body>
<h2>Responsive Testimonials</h2>
<p>Resize the browser window to see the effect.</p>
<div class="container">
<img src=" .png" alt="img1" style="width:90px">
<p><span>Prajwal Rai</span> prajwalrai.com.np</p>
<p>Hello World, This is Responsive Testimonials</p>
</div>
<div class="container">
<img src=" .png" alt="img2" style="width:90px">
<p><span>Prajwal Rai</span>prajwalrai.com.np</p>
<p>Hello World, This is Responsive Testimonials</p>
</div>
</body>
</html>