Search
 
SCRIPT & CODE EXAMPLE
 

HTML

testimonial slider html

<!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="/w3images/bandmember.jpg" alt="Avatar" style="width:90px">
  <p><span>Chris Fox.</span> CEO at Mighty Schools.</p>
  <p>John Doe saved us from a web disaster.</p>
</div>

<div class="container">
  <img src="/w3images/avatar_g2.jpg" alt="Avatar" style="width:90px">
  <p><span>Rebecca Flex.</span> CEO at Company.</p>
  <p>No one is better than John Doe.</p>
</div>

</body>
</html>
Comment

testimonial slider html

<!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="/w3images/bandmember.jpg" alt="Avatar" style="width:90px">
  <p><span>Chris Fox.</span> CEO at Mighty Schools.</p>
  <p>John Doe saved us from a web disaster.</p>
</div>

<div class="container">
  <img src="/w3images/avatar_g2.jpg" alt="Avatar" style="width:90px">
  <p><span>Rebecca Flex.</span> CEO at Company.</p>
  <p>No one is better than John Doe.</p>
</div>

</body>
</html>
Comment

PREVIOUS NEXT
Code Example
Html :: add ruby title html erb icon 
Html :: how to add public_html 
Html :: one side toggle in bootstrap 
Html :: pyscript 
Html :: how to work on portfolio in html and css 
Html :: pdf to html python 
Html :: excel auto tage with date and time 
Html :: twig batch 
Html :: iconos html 
Html :: email and button bootstrap 
Html :: html domain 
Html :: ionic footer not appearing 
Html :: html text bold 
Html :: md-autocomplete 
Html :: how link back to home page html without index 
Html :: message box html 
Html :: bootsrap carousel 
Html :: file path in html 
Html :: simple form time input 
Html :: tailwind font normal style 
Html :: animate text 
Html :: how to make a button download a file in html 
Html :: How to lazily load images or load only when scrolled 
Html :: wordpress add the html to the content by functoin.php 
Html :: pass dynamic id in src url 
Html :: blizard.js print 
Html :: react router preventing assets from being served 
Html :: open in new tab html 
Html :: simbolo checkbox en tabla en html 
Html :: adminLTE infoboxes 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =