Bootstrap snippet. scrollspy web previewer

This Bootstrap snippet. scrollspy web previewer, was created to help web designers,
front-end developers and back-end developer save time. Use it 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, paste, change, customize and run the following HTML code to get a result like the one shown 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 snippet">
 <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, paste, change, customize and run the following CSS code to get a result Like the one shown 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 snippet bs4 social profile header

bs4 social profile header

View

Bootstrap snippet bs4 my experience timeline

bs4 my experience timeline

View

Bootstrap snippet bs4 Latest Updates card

bs4 Latest Updates card

View

Bootstrap snippet bs4 payment list

bs4 payment list

View

Bootstrap snippets. scrollspy web previewer

About this bootstrap snippet

This bootstrap snippet, scrollspy web previewer, was published on Aug 28th 2014, 09:43 by omarhab and it is free.

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 snippet currectly have 1.5K views, Using this bootstrap snippet you have the following benefits:

Bootstrap 3.2.0

This snippet 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

Jquery plugins

Great built-in plugins with jquery framework, you can easy to change all declarations

semantic html 5

Built on html / css3 the code quality is really amazing

Simple Integration

This snippet can be simply integrated on existing sites and new ones too, all you need to do is copy the code and start working