Bootstrap snippet and html example. news

Bootstrap 4.0.0-alpha.5 snippet "news" with HTML, CSS, and JS. Copy, paste, and customize this responsive UI component for your project.

HTML code

Clean, semantic HTML that powers this Bootstrap 4.0.0-alpha.5 snippet. Copy and paste it into your page (with Bootstrap loaded) to reproduce the exact layout shown in the preview.

<div class="index-content">
    <div class="container">
            <a href="blog-ici.html">
                <div class="col-lg-3">
                    <div class="card">
                        <img src="http://cevirdikce.com/proje/hasem-2/images/finance-1.jpg">
                        <h4>Investment Strategy</h4>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
                        <a href="blog-ici.html" class="blue-button">Read More</a>
                    </div>
                </div>
            </a>
            <a href="blog-ici.html">
                <div class="col-lg-3">
                    <div class="card">
                        <img src="http://cevirdikce.com/proje/hasem-2/images/finance-2.jpg">
                        <h4>Investment Strategy</h4>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
                        <a href="blog-ici.html" class="blue-button">Read More</a>
                    </div>
                </div>
            </a>
            <a href="blog-ici.html">
                <div class="col-lg-3">
                    <div class="card">
                        <img src="http://cevirdikce.com/proje/hasem-2/images/finance-3.jpg">
                        <h4>Investment Strategy</h4>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
                        <a href="blog-ici.html" class="blue-button">Read More</a>
                    </div>
                </div>
            </a>
            <a href="blog-ici.html">
                <div class="col-lg-3">
                    <div class="card">
                        <img src="http://cevirdikce.com/proje/hasem-2/images/finance-3.jpg">
                        <h4>Investment Strategy</h4>
                        <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
                        <a href="blog-ici.html" class="blue-button">Read More</a>
                    </div>
                </div>
            </a>
    </div>
</div>

CSS code

Scoped CSS that styles the component. Paste it after Bootstrap 4.0.0-alpha.5 to keep the design, spacing, and responsiveness consistent.

.index-content a:hover{
    color:black;
    text-decoration:none;
}
.index-content{
    margin-bottom:20px;
    padding:50px 0px;
    
}
.index-content .row{
    margin-top:20px;
}
.index-content a{
    color: black;
}
.index-content .card{
    background-color: #FFFFFF;
    padding:0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius:4px;
    box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);

}
.index-content .card:hover{
    box-shadow: 0 16px 24px 2px rgba(0,0,0,0.14), 0 6px 30px 5px rgba(0,0,0,0.12), 0 8px 10px -5px rgba(0,0,0,0.3);
    color:red;
}
.index-content .card img{
    width:100%;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}
.index-content .card h4{
    margin:20px;
}
.index-content .card p{
    margin:20px;
    opacity: 0.65;
}
.index-content .blue-button{
    width: 100px;
    -webkit-transition: background-color 1s , color 1s; /* For Safari 3.1 to 6.0 */
    transition: background-color 1s , color 1s;
    min-height: 20px;
    background-color: #002E5B;
    color: #ffffff;
    border-radius: 4px;
    text-align: center;
    font-weight: lighter;
    margin: 0px 20px 15px 20px;
    padding: 5px 0px;
    display: inline-block;
}
.index-content .blue-button:hover{
    background-color: #dadada;
    color: #002E5B;
}
@media (max-width: 768px) {

    .index-content .col-lg-4 {
        margin-top: 20px;
    }
}

Similar snippets

Bootstrap example and template. top item list

top item list

Bootstrap example and template. Team portrait

Team portrait

Bootstrap example and template. user profile cover with links

user profile cover with links

Bootstrap example and template. bs4 beta email inbox

bs4 beta email inbox

Bootstrap example and template. custom nav pills

custom nav pills

Bootstrap example and template. Admin Panel Quick Shortcuts

Admin Panel Quick Shortcuts

Bootstrap example and template. Dashboard Statistics Overview

Dashboard Statistics Overview

Bootstrap example and template. Simple user description

Simple user description

FAQ

How do I use this snippet?

Include Bootstrap 4.0.0-alpha.5, paste the HTML, add the CSS block, and include the JS (if any) to mirror the live preview.

Can I use it in commercial projects?

Yes. It’s free for personal and commercial work; check the snippets license for details.

Is it responsive?

Yes. It inherits the responsive grid and components from Bootstrap 4.0.0-alpha.5.

Bootstrap example and template. news

About this bootstrap example/template

Optimized for copy‑paste: clean HTML, scoped CSS, and minimal JS so you can ship production‑ready UI faster and keep designs consistent.

Mobile‑first and responsive by default. Tested across modern browsers to reduce polish time on your project.

Already trusted in 1.6K+ views. Reuse this snippet to speed up landing pages, dashboards, or onboarding flows.

Bootstrap 4.0.0-alpha.5

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/4.0.0-alpha.5/js/bootstrap.min.js'></script>

This code example is based on bootstrap 4.0.0-alpha.5 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

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

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