Force an element to be hidden with Bootstrap

BootstrapWeb DevelopmentCSS Framework

Use the .hidden class in Bootstrap to force an element to be hidden

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <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>
   </head>
   <body>
      <p class = "show">This is visible.</p>
      <p class = "hidden">This is hidden.</p>
   </body>
</html>
raja
Published on 21-Jun-2018 13:59:24
Advertisements