"Simple News Portal"
Bootstrap 4.0.0 Snippet by sajeeb

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>News Portal</title> <link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous"> <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script> </body> </head> <body> <div class="container"> <nav class="navbar navbar-expand-lg navbar-light bg-light"> <a class="navbar-brand h1" href="#">The News</a> <button class="navbar-toggler" data-toggle="collapse" data-target="#newsMenu" type="button" aria-controls="newsMenu" aria-expanded="false" aria-label="Toggler navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="newsMenu"> <a class="nav-item nav-link" href="#">Home Page</a> <a class="nav-item nav-link" href="#">News</a> <a class="nav-item nav-link" href="#">Contact</a> <a class="nav-item nav-link" href="#">About</a> </div> </nav> <div class="row"> <div class="col-md-12"> <div class="jumbotron"> <h2 class="display-4">Get the latest news on trending topics</h2> <hr class="my-4"> <p>Subscribe for the latest news</p> <button type="button" class="btn btn-primary">Read More</button> </div> </div> </div> <div class="row"> <div class="col-md-12"> <h4 class="text-center">Heading</h4> <hr class="my-4"> </div> </div> <div class="row"> <div class="col-md-4 col-sm-6 col-s-12"> <div class="card"> <img class="card-img-top" src="https://images.unsplash.com/photo-1509044851713-f3f27a61968d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> <div class="card-body"> <h5 class="card-title">News Title <span class="badge badge-primary">New</span></h5> <p class="card-text">News Descrption</p> <a href="" class="btn btn-danger">Read More</a> </div> </div> </div> <div class="col-md-4 col-sm-6 col-s-12"> <div class="card"> <img class="card-img-top" src="https://images.unsplash.com/photo-1495139948119-45f313b7fe0c?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> <div class="card-body"> <h5 class="card-title">News Title <span class="badge badge-warning">Trending</span></h5> <p class="card-text">News Descrption</p> <a href="" class="btn btn-danger">Read More</a> </div> </div> </div> <div class="col-md-4 col-sm-6 col-s-12"> <div class="card"> <img class="card-img-top" src="https://images.unsplash.com/photo-1509044851713-f3f27a61968d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> <div class="card-body"> <h5 class="card-title">News Title</h5> <p class="card-text">News Descrption</p> <a href="" class="btn btn-danger">Read More</a> </div> </div> </div> </div> <div class="row mt-4"> <div class="col-md-4"> <img class="img-fluid" src="https://images.unsplash.com/photo-1509044851713-f3f27a61968d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> </div> <div class="col-md-8"> <div class="row"> <div class="col-md-12"> <h1>Drinking Coffee Can Boost Productivity</h1> </div> </div> <div class="row"> <div class="col-md-12"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </div> </div> <div class="row"> <div class="col-md-12"> <button class="btn btn-danger" type="button">Read More</button> </div> </div> </div> </div> <div class="row mt-4"> <div class="col-md-4"> <img class="img-fluid" src="https://images.unsplash.com/photo-1509044851713-f3f27a61968d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> </div> <div class="col-md-8"> <div class="row"> <div class="col-md-12"> <h1>Drinking Coffee Can Boost Productivity</h1> </div> </div> <div class="row"> <div class="col-md-12"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </div> </div> <div class="row"> <div class="col-md-12"> <button class="btn btn-danger" type="button">Read More</button> </div> </div> </div> </div> <div class="row mt-4"> <div class="col-md-4"> <img class="img-fluid" src="https://images.unsplash.com/photo-1509044851713-f3f27a61968d?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=500&q=60" alt=""> </div> <div class="col-md-8"> <div class="row"> <div class="col-md-12"> <h1>Drinking Coffee Can Boost Productivity</h1> </div> </div> <div class="row"> <div class="col-md-12"> <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p> </div> </div> <div class="row"> <div class="col-md-12"> <button class="btn btn-danger" type="button">Read More</button> </div> </div> </div> </div> </div> </body> </html>

Related: See More


Questions / Comments: