Hide content with Bootstrap

BootstrapWeb DevelopmentCSS Framework

To hide content with Bootstrap, use the .hidden class in Bootstrap. You can try to run the following code to hide content:


Live Demo

<!DOCTYPE html>
      <title>Bootstrap Example</title>
      <link href = "/bootstrap/css/bootstrap.min.css" rel = "stylesheet">
      <script src = "/scripts/jquery.min.js"></script>
      <script src = "/bootstrap/js/bootstrap.min.js"></script>
      <div class = "row" style = "padding: 91px 100px 19px 50px;">
         <div class = "show" style = "left-margin:10px; width:300px; background-color:#ccc;">
            Content is visible.
         <div class = "hidden" style = "width:200px; background-color:#ccc;">
            Content is hidden.
Updated on 12-Jun-2020 14:56:09