Beispiel:CSS-Bilderkarussell-1.html

Aus SELFHTML-Wiki
Wechseln zu: Navigation, Suche
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <link rel="stylesheet" media="screen" href="./Beispiel:SELFHTML-Beispiel-Grundlayout.css">
  <title>Bilderkarussell - 1</title>
  <style>
  .gallery{
    border: none;
    background: none;
  }
  
  .gallery img {
    width: 100%;}
  </style>
</head>
<body>
  <h1>Bilderkarussell mit CSS-animation 1</h1>
    <h2>Peru 2007</h2>
    <div class="gallery">
      <figure>
        <img src="https://wiki.selfhtml.org/images/2/28/Peru-1.jpg" alt="Peru 2007: Cusco - Blick auf Ausangate">
        <figcaption>Cusco - Blick auf Ausangate</figcaption>
      </figure>
      <figure>
        <img src="https://wiki.selfhtml.org/images/4/42/Peru-2.jpg" alt="Peru 2007: Valle Sagrado">
        <figcaption>Terrassen im Valle Sagrado de los Incas</figcaption>
      </figure>
      <figure>
        <img src="https://wiki.selfhtml.org/images/a/ab/Peru-3.jpg" alt="Peru 2007: Machu Picchu">
        <figcaption>Machu Picchu</figcaption>
      </figure>  
      <figure>
        <img src="https://wiki.selfhtml.org/images/8/80/Peru-4.jpg" alt="Peru 2007: Machu Picchu - Lamas in den Ruinen">
        <figcaption>Machu Picchu - Lamas in den Ruinen</figcaption>
      </figure>
      <figure>
        <img src="https://wiki.selfhtml.org/images/3/3f/Peru-5.jpg" alt="Peru 2007: Uros-Inseln im Titicaca-See">
        <figcaption>Uros-Inseln im Titicaca-See</figcaption>
      </figure>
      <figure>
        <img src="https://wiki.selfhtml.org/images/4/41/Peru-6.jpg" alt="Peru 2007: Ceviche - Meeresfrüchte mit Zitronensaft">
        <figcaption>Ceviche - Meeresfrüchte mit Kartoffeln und Zitronensaft</figcaption>
      </figure>            
    </div>    

</body>
</html>