HTML CSS examples for Bootstrap Class List:hidden-xs
hidden-xs Hides content depending on extra small screen size
<!DOCTYPE html> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> </head><!-- ww w . j av a 2 s. c o m--> <body> <div class="container"> <h2>Example</h2> <p>Resize this page to see how the text below changes:</p> <h1 class="hidden-xs bg-danger">This text is hidden on an EXTRA SMALL screen.</h1> <h1 class="hidden-sm bg-info">This text is hidden on a SMALL screen.</h1> <h1 class="hidden-md bg-warning">This is text hidden on a MEDIUM screen.</h1> <h1 class="hidden-lg bg-success">This is text hidden on a LARGE screen.</h1> </div> </body> </html>