Bootstrap snippet. bs4 4 Grid rem Demo

This snippet was created to help web designers, front-end and back-end developer save time. Use it for free in your project and build your app faster,
You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following HTML code to get a result like the one shown in the preview selection

<div class="font-sizes">
    <h2 class="display-1">Bootstrap 4 Grid "rem" Demo</h2>
    <h4>Click a size to change the <code>html</code> tag's font size</h4>
     <a href="#" class="btn btn-sm btn-primary-outline" data-size="6px">8px</a> 
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="12px">12px</a>
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="16px">16px</a>
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="20px">20px</a>
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="24px">24px</a>
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="28px">28px</a> 
    <a href="#" class="btn btn-sm btn-primary-outline" data-size="32px">32px</a> 
</div>

<div class="container">
    <div class="row">
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
        <div class="col-md-1">.col-md-1</div>
    </div>
    <div class="row">
        <div class="col-md-8">.col-md-8</div>
        <div class="col-md-4">.col-md-4</div>
    </div>
    <div class="row">
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>
        <div class="col-md-4">.col-md-4</div>
    </div>
    <div class="row">
        <div class="col-md-6">.col-md-6</div>
        <div class="col-md-6">.col-md-6</div>
    </div>
</div>

CSS code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following CSS code to get a result Like the one shown in the preview selection

html {
  font-size: 16px;
}
[class^="col"] {
    background: rgba(152, 214, 245, 0.73);
    border: 1px solid rgba(86,61,124,.2);
    min-height: 50px;
}
.font-sizes {
    text-align: center;
    padding: 30px 0;
}

Javascript/Jquery code

This is the css code used to create this bootstrap snippet, You can copy, paste, change, customize and run the following JS code to get a result Like the one shown in the preview selection

$('.font-sizes a').click(function() {
    $('html').css('font-size', $(this).data('size'));
    return false;
}); 

Similar snippets

Bootstrap media video players example

media video players

Bootstrap pages lock screen example

pages lock screen

Bootstrap collage gallery example

collage gallery

Bootstrap Messages or conversations example

Messages or conversations

Bootstrap profile with data and skills example

profile with data and skills

Bootstrap profile edit data and skills example

profile edit data and skills

Bootstrap modern price section example

modern price section

Bootstrap bs4 crud users example

bs4 crud users

Free bootstrap example. bs4 4 Grid rem Demo

About this bootstrap snippet

This bootstrap snippet, bs4 4 Grid rem Demo, was published on Mar 1st 2018, 13:18 by Dey Dey and it is free.

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This snippet currectly have 321 views, Using this bootstrap snippet you have the following benefits:

Bootstrap 4.0.0

This snippet is based on bootstrap 4.0.0 and the grid system of this framework

Responsive

Based on bootstrap framework makes all the layouts perfectly responsive for all devices

Crossbrowser compatibility

Tested on all major browsers, it works smoothly on all of them

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working