Skip to content

Bootstrap grid and u-prefixed utilities for BEM fans.

Notifications You must be signed in to change notification settings

site69/u-bootstrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

u-Bootstrap

u-Bootstrap is a special Bootstrap build. It strips out all the javascript, content styles, components. And only provides the following:

How to use

  1. Download the latest release archive from the Releases page. Chose a file with a -dist suffix.
  2. Unpack it and place in your project folder where appropriate.
  3. Link to bootstrap-grid.min.css and u-bootstrap.min.css files in html.

Example usage

<html>
<head>
    ...
    <link rel="stylesheet" href="vendor/u-bootstrap/css/bootstrap-grid.css">
    <link rel="stylesheet" href="vendor/u-bootstrap/css/u-bootstrap.css">
    ...
</head>
<body>
    <div class="container">
        <div class="row">
            <div class="col-12 co-sm-6 u-mb-5">
                <p class="u-text-center">
                    This is an u-Bootstrap markup example.
                <p>
            </div>
            <div class="col-12 co-sm-6">
                <div class="u-d-flex u-flex-column u-align-content-center">
                    <div>Item 1</div>
                    <div>Item 2</div>
                </div>
            </div>
        </div>
    </div>
</body>
</html>