Get started with flexboxgrid CDN

Apache-2.0 licensed

Flexboxgrid is a CSS library that utilizes Flexbox for creating responsive grid layouts.

Tags:
  • browser
  • flexbox
  • grid
  • css

Stable version

Copied!

How to start using flexboxgrid CDN


<!DOCTYPE html>
<html>
<head>
  <link rel="stylesheet" href="https://cdn.cdnhub.io/flexboxgrid/6.3.1/flexboxgrid.min.css">
  <style>
    .container {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      margin: 50px;
    }

    .box {
      width: calc(33.333% - 20px);
      height: 200px;
      background-color: #f1c40f;
      margin: 10px;
      box-sizing: border-box;
    }
  </style>
</head>
<body>
  <div class="container">
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
    <div class="box"></div>
  </div>
</body>
</html>
Copied!
Copied!

All versions