Bootstrap snippet and html example. scrollspy web previewer

This html snippet was created to help web designers, web developers, front-end and back-end developer save time. Use it for free in your project and build your app faster, You can also download the HTML, CSS, and JS code.

HTML code

This is the html code used to create this bootstrap snippet, You can copy and paste the following html code inside a page with bootstrap 3.2.0 included, to get the result that you can see in the preview selection

<!DOCTYPE html>
<html lang="en">


  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Proofs</title>

    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">



    <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>



    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
      <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->
  </head>


  <body>







    <div class="container bootstrap snippets bootdey">
 <h1 class="text-center">Ask Me Questions On Twitter</h1>
      <div class="twitter">
        <a href="https://twitter.com/TweetOmarNow" class="twitter-follow-button" data-show-count="false" data-lang="en" data-size="large">Questions</a>
      </div>
      <h1 class="text-center"><small>Return to <a href="/">www.OmarHabash.com</a></small> </h1>
<hr>
<br>
      <ul class="list-inline text-center">
        <li><a href="#g-site1">CloudMatrix</a></li>
        <li><a href="#g-site2"> |   Nova Dental</a></li>
      </ul>

      <div class="row">
        <!-- content -->


<br>
<br>








        <!--=================================================== site1 ===================================================-->

              <div id="g-site1" class="col-xs-12">
                  <div class="demo-container">

                      <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#site1">
                        <i  class="fa fa-search-plus"></i>
                      </button>

                      <div class="mac">
                          <img class="img-responsive" src="http://omarhabash.com/sites/assets/img/sites/mac.png" alt="" />
                          <div class="screen">
                              <img class="img-responsive" src="http://omarhabash.com/sites/assets/img/sites/site1.jpg" alt="" />
                          </div>
                      </div>

                  </div>
              </div>




            <!-- Modal -->
            <div class="modal fade" id="site1" tabindex="-1" role="dialog" aria-labelledby="site1Label" aria-hidden="true">
              <div class="modal-dialog modal-lg">
                <div class="modal-content1">
                  <div class="modal-body">
                    <img class="img-responsive site" src="http://omarhabash.com/sites/assets/img/sites/site1.jpg" alt="">
                  </div>
                </div>
              </div>
            </div>

            <!--=================================================== site1 END ===================================================-->














          <!--=================================================== site2 ===================================================-->

          <div id="g-site2" class="col-xs-12">
                <div class="demo-container">

                    <button class="btn btn-primary btn-lg" data-toggle="modal" data-target="#site2">
                      <i  class="fa fa-search-plus"></i>
                    </button>

                    <div class="mac">
                        <img class="img-responsive" src="http://omarhabash.com/sites/assets/img/sites/mac.png" alt="" />
                        <div class="screen">
                            <img class="img-responsive" src="http://omarhabash.com/sites/assets/img/sites/site2.jpg" alt="" />
                        </div>
                    </div>

                </div>
            </div>




            <!-- Modal -->
            <div class="modal fade" id="site2" tabindex="-1" role="dialog" aria-labelledby="site2Label" aria-hidden="true">
              <div class="modal-dialog modal-lg">
                <div class="modal-content1">
                  <div class="modal-body">
                    <img class="img-responsive site" src="http://omarhabash.com/sites/assets/img/sites/site2.jpg" alt="">
                  </div>
                </div>
              </div>
            </div>

            <!--=================================================== site1 END ===================================================-->










        <!-- content END -->
      </div>
    </div>










  </body>
</html>

CSS code

This is the css code used to create this bootstrap snippet, You can copy and paste the following css code inside a page with bootstrap 3.2.0 included, to get the result that you can see in the preview selection

body {padding: 50px;} /* demo only */

img.site {
    border: 4px solid #ccc;
}

.demo-container {
    overflow: hidden;
    position: relative;
}
.mac {
    position: relative;
    margin: -5.3% -20.5% 0 -18.5%; /* demo only--accounts for image whitespace */
}
.screen {
    position: absolute;
    top: 9%; /* demo only--accounts for image whitespace */
    right: 17%; /* demo only--accounts for image whitespace */
    left: 15.6%; /* demo only--accounts for image whitespace */
    height: 58%;
    overflow: auto;
}

button.btn.btn-primary.btn-lg {
    /* margin-left: 9.9em; */
	/* margin-top: 26.5em; */
	position: absolute;
	z-index: 1;
	bottom: 25%;
	left: 0;
	/* width: 9%; */
	margin-left: 47%;
	box-shadow: 1px 1px 1px;
}

.twitter {
    width: 17%;
    margin: 0 auto;
}

Similar snippets

Bootstrap example and template. Products View List

Products View List

Bootstrap example and template. timeline with year and date

timeline with year and date

Bootstrap example and template. invoice with client info description amount and pay now button

invoice with client info description amount and pay now button

Bootstrap example and template. bs4 promo pricing table

bs4 promo pricing table

Bootstrap example and template. chat room

chat room

Bootstrap example and template. messages like material design

messages like material design

Bootstrap example and template. profile with team section

profile with team section

Bootstrap example and template. Whatsapp web chat template

Whatsapp web chat template

Bootstrap example and template. scrollspy web previewer

About this bootstrap example/template

We hope you will enjoy this awesome snippet and stay tuned for the latest updates, bootdey snippets are already used in thousands of blogs, websites and projects. We believe it will save your precious time and gives trendy look to your next web project.

We always try to offer the best beautiful and responsive source of Bootstrap code examples and components.

This code example currectly have 2.8K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.2.0

<link rel='stylesheet' href='https://netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css'>

<script src='https://netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js'></script>

This code example is based on bootstrap 3.2.0 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