• Edit
  • Download
  • <!DOCTYPE html>
    <html>
    
    <head>
      <meta charset="utf-8">
      <title>ZingGrid Demo</title>
      <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
      <style>
        body {
          background: #e6e6e6;
        }
    
        button {
          border: 0;
          border-radius: 5px;
          color: white;
          background: #85929E;
          font-size: 15px;
          margin-bottom: 20px;
        }
    
        img {
          margin-top: 20px;
        }
    
        zing-grid[loading] {
          height: 307px;
        }
      </style>
    </head>
    
    <body>
      <zing-grid>
        <zg-caption>
          <img src="https://app.zinggrid.com/api/file/Q1FERVLM/corgi.png" width="50px"> This caption has images and a button!
          <img src="https://app.zinggrid.com/api/file/Q1FERVLM/corgi.png" width="50px">
          <button>Woof!</button>
        </zg-caption>
        <zg-data data='[{"name": "Oreo","breed":"Mastiff"}, {"name": "Buddy","breed":"Greate Dane"}, {"name": "Max","breed":"Doodle"}]'></zg-data>
      </zing-grid>
      <script></script>
    </body>
    
    </html>
    <!DOCTYPE html>
    <html>
      <head>
        <meta charset="utf-8">
        <title>ZingGrid Demo</title>
        <script src="https://cdn.zinggrid.com/zinggrid.min.js" defer></script>
      </head>
      <body>
         <zing-grid>
           <zg-caption>
             <img src="https://app.zinggrid.com/api/file/Q1FERVLM/corgi.png" width="50px">
             This caption has images and a button!
             <img src="https://app.zinggrid.com/api/file/Q1FERVLM/corgi.png" width="50px">  
             <button>Woof!</button>
           </zg-caption>
           <zg-data data='[{"name": "Oreo","breed":"Mastiff"}, {"name": "Buddy","breed":"Greate Dane"}, {"name": "Max","breed":"Doodle"}]'></zg-data>
        </zing-grid>
    	</body>
    </html>
    body{background:#e6e6e6;}
    
    button {
      border:0;
      border-radius: 5px;
      color: white;
      background: #85929E;
      font-size: 15px;
      margin-bottom: 20px;
    }
    
    img {
      margin-top: 20px;
    }