"Bootstrap 3 Template"
Bootstrap 3.3.0 Snippet by megatela

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <nav class="navbar navbar-static"> <div class="container"> <div class="navbar-header"> <a class="navbar-brand" href="http://tuconsultoraseo.com" target="ext"><b>Tu Consultora SEO</b></a> <a class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse"> <span class="glyphicon glyphicon-chevron-down"></span> </a> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav"> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown">Channels</a> <ul class="dropdown-menu"> <li><a href="#">Sub-link</a></li> <li><a href="#">Sub-link</a></li> <li><a href="#">Sub-link</a></li> <li><a href="#">Sub-link</a></li> </ul> </li> </ul> <ul class="nav navbar-right navbar-nav"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-search"></i></a> <ul class="dropdown-menu" style="padding:12px;"> <form class="form-inline"> <button type="submit" class="btn btn-default pull-right"><i class="glyphicon glyphicon-search"></i></button><input type="text" class="form-control pull-left" placeholder="Search"> </form> </ul> </li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="glyphicon glyphicon-user"></i> <i class="glyphicon glyphicon-chevron-down"></i></a> <ul class="dropdown-menu"> <li><a href="#">Login</a></li> <li><a href="#">Profile</a></li> <li class="divider"></li> <li><a href="#">About</a></li> </ul> </li> </ul> </div> </div> </nav><!-- /.navbar --> <header class="masthead"> <div class="container"> <div class="row"> <div class="col-md-6"> <h1><a href="#" title="Scroll down for your viewing pleasure">Bootable Template</a> <p class="lead">3-column Theme + Layout for Bootstrap 3.</p></h1> </div> <div class="col-md-6"> <div class="well pull-right"> <img src="//placehold.it/280x100/E7E7E7"> </div> </div> </div> </div> </header> <!-- Begin Body --> <div class="container"> <div class="no-gutter row"> <!-- left side column --> <div class="col-md-2"> <div class="panel panel-default" id="sidebar"> <div class="panel-heading" style="background-color:#888;color:#fff;">Sidebar</div> <div class="panel-body"> <ul class="nav nav-stacked"> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> <li><a href="#">Link</a></li> </ul> <div class="accordion" id="accordion2"> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne"> Accordion </a> </div> <div id="collapseOne" class="accordion-body collapse in"> <div class="accordion-inner"> Content here for links, ads, etc.. </div> </div> </div> <div class="accordion-group"> <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo"> Accordion </a> </div> <div id="collapseTwo" class="accordion-body collapse"> <div class="accordion-inner"> Another collapse panel. Content here for links, ads, etc.. </div> </div> </div> </div><!--/acc--> <hr> <div class="col col-span-12"> <i class="icon-2x icon-facebook"></i>  <i class="icon-2x icon-twitter"></i>  <i class="icon-2x icon-linkedin"></i>  <i class="icon-2x icon-pinterest"></i> </div> </div><!--/panel body--> </div><!--/panel--> </div><!--/end left column--> <!--mid column--> <div class="col-md-3"> <div class="panel" id="midCol"> <div class="panel-heading" style="background-color:#555;color:#eee;">New Stories</div> <div class="panel-body"> <img class="img-responsive" src="//placehold.it/300/77CCDD/66BBCC"> <div class="well"> <img src="http://s.bootply.com/assets/example/bg_iphone.png" class="img-responsive"> <h3><a href="http://getbootstrap.com">Bootstrap 3 is Here.</a></h3> <p> In simple terms, a responsive web design figures out what resolution of device it's being served on. Flexible grids then size correctly to fit the screen. </p> <p><a href="http://www.bootply.com/bootstrap-3-migration-guide" target="ext">Read our migration guide for help with upgrading to Bootstrap 3.</a></p> </div> <hr> <h3>Top Members</h3> <h5><a href="#"><i class="glyphicon glyphicon-user"></i> John Chapman</a></h5> <h5><a href="#"><i class="glyphicon glyphicon-user"></i> Max Axleton</a></h5> <h5><a href="#"><i class="glyphicon glyphicon-user"></i> Devin Skelly</a></h5> <h5><a href="#"><i class="glyphicon glyphicon-user"></i> Katie Kowalski</a></h5> <h5><a href="#"><i class="glyphicon glyphicon-user"></i> Amet Deberge</a></h5> <hr> <img class="img-responsive" src="//placehold.it/300x200/FFF"> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" src="http://placehold.it/80/F0F0F0"> </a> <div class="media-body"> <h5 class="media-heading"><a href="/tagged/modal" target="ext" class="pull-right"><i class="glyphicon glyphicon-share"></i></a> <a href="#"><strong>Modal</strong></a></h5> <small>Examples using the Bootstrap modal.</small><br> <span class="badge">87</span> </div> </div> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" src="http://placehold.it/80/F0F0F0"> </a> <div class="media-body"> <h5 class="media-heading"><a href="/tagged/slider" target="ext" class="pull-right"><i class="glyphicon glyphicon-share"></i></a> <a href="#"><strong>Carousel</strong></a></h5> <small>How to use the Bootstrap slider.</small><br> <span class="badge">322</span> </div> </div> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" src="http://placehold.it/80/F0F0F0"> </a> <div class="media-body"> <h5 class="media-heading"><a href="/tagged/typography" target="ext" class="pull-right"><i class="glyphicon glyphicon-share"></i></a> <a href="#"><strong>Typography</strong></a></h5> <small>See the various textual elements and options.</small><br> <span class="badge">44</span> </div> </div> <div class="media"> <a class="pull-left" href="#"> <img class="media-object" src="http://placehold.it/80/F0F0F0"> </a> <div class="media-body"> <h5 class="media-heading"><a href="/tagged/media" target="ext" class="pull-right"><i class="glyphicon glyphicon-share"></i></a> <a href="#"><strong>@Media</strong></a></h5> <small>Use @media queries to get the layout you want.</small><br> <span class="badge">119</span> </div> </div> </div> </div><!--/panel--> </div><!--/end mid column--> <!-- right content column--> <div class="col-md-7" id="content"> <div class="panel"> <div class="panel-heading" style="background-color:#111;color:#fff;">Top Stories</div> <div class="panel-body"> <div class="row"> <div class="col-md-8"> <h2>The Year of Responsive Design.</h2> 2013 was marked as the year of Responsive Web Design (RWD). The Web is filled with big brands, galleries and magical examples that media queries demonstrate the glory of responsive design. <br><br> <button class="btn btn-default">More</button> </div> <div class="col col-sm-4"> <a href="#"><img src="//placehold.it/300x120/77CCDD/66BBCC" class="img-responsive"></a> <div class="text-muted"><small>Aug 15 / John Pierce</small></div> <p> Web design has come a long way since 1999. </p> <hr> <a href="#"><img src="//placehold.it/300x120/77CCDD/66BBCC" class="img-responsive"></a> <div class="text-muted"><small>Aug 15 / Wilson Traiker</small></div> <p> The "flat" look was a big trend this year. </p> </div> </div> <hr> "Mobile first" and "unobtrusive JavaScript" (AKA: "progressive enhancement") are strategies for when a new site design is being considered. These are related concepts that predated RWD: browsers of basic mobile phones do not understand JavaScript or media queries, so the recommended practice is to create a basic web site then enhance it for smart phones and PCs—rather than try "graceful degradation" to make a complex, image-heavy site work on the most basic mobile phones. <br><br> Media Queries is a CSS3 module allowing content rendering to adapt to conditions such as screen resolution (e.g. smartphone vs. high definition screen). It became a W3C recommended standard in June 2012.[1] and is a cornerstone technology of Responsive Web Design. <hr> <div class="well text-center"> <h1>Centered Text</h1> This was a 2.x challenge that seems a little easier in 3. <br><br> <div style="font-size:70pt"> <i class="glyphicon glyphicon-4x glyphicon-camera"></i> <i class="glyphicon glyphicon-4x glyphicon-camera"></i> <i class="glyphicon glyphicon-4x glyphicon-camera"></i> </div> </div> <hr> <h2>CSS3</h2> <img src="//placehold.it/150x100/EEEEEE" class="img-responsive pull-right"> To understand the RWD approach, you must first understand CSS - the basis of responsive design. CSS enables the developer to use percentage-based (AKA fluid or proportion-based) grids, CSS3 media queries. The web site then adapts to multiple devices (desktop, laptop, tablet, smartphone) and display conditions such as browser size and screen resolution. <br><br> <button class="btn btn-default">More</button> <hr> <div class="row"> <div class="col-md-6"> <img src="/assets/example/bg_smartphones.jpg" class="img-responsive"> </div> <div class="col-md-6"> <h1>There is still a lot to be said about the Responsive Web.</h1> </div> </div> <hr> <h2>Responsive Text</h2> Have you ever seen large text blocks overflow their container, or get cut-off? One way to handle this is to ensure the text content wraps inside the container. But the more "responsive" way is to scale font-sizes accordingly as the size of the viewing area (viewport) changes. Creators of <a href="http://fittextjs.com/">FitText</a> have mastered this in the form of a plugin. <hr> <div class="well"> <h1>Well..</h1> Does anyone know why <a href="#">@mdo</a> or <a href="#">@fat</a> would name this element a "well"? </div> <hr> <h2>Responsive Images</h2> The sizing "grid" is not the only aspect of responsive design. Making images and media object scale correctly is another consideration for responsive developers. <span class="hidden-sm">Go ahead and shrink your browser's width to see how the HTML elements and images respond as the width of the viewport changes.</span> <h1><a href="#"><i class="glyphicon glyphicon-user"></i> <i class="glyphicon glyphicon-chevron-down"></i></a></h1> <hr> Bootstrap 3 is the latest "Mobile-first" release of the Bootstrap framework that offers a starter foundation for Web designers and developers. Bootstrap consists of a CSS and JavaScript library. To use Bootstrap, you simply include (reference) in the HTML of your Web page. There is also a CDN for Bootstrap that serves pages faster. <hr> This theme was made at Bootply. Bootply is a HTML, JavaScript and CSS editor app built just for Bootstrap. Bootply enables developers to easily apply the Bootstrap Framework to their projects using a beautiful hand-coding interface. The browser-based Bootply editor lets developers select and paste Bootstrap friendly code snippets. Bootply can be used to test, manage and share any Bootstrap code, from small snippets to entire Bootstrap-ready themes. Find it at http://bootply.com <hr> <div class="row"> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/EDEDED" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/DDDDDD" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/555555/EEE" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/F3F3F3" class="img-responsive"></a> </div> </div> <br> <div class="row"> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/999999/DDD" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/CCCCCC" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/EDEDED" class="img-responsive"></a> </div> <div class="col-md-3 col-sm-6 col-6"> <a href="#"><img src="//placehold.it/600X200/E0E0E0" class="img-responsive"></a> </div> </div> <hr> <hr> </div><!--/panel-body--> </div><!--/panel--> <!--/end right column--> </div> </div> </div> <footer> <div class="container"> <div class="row"> <div class="col-md-12 text-right"><h5>©Company 2014</h5></div> </div> </div> </footer>
/* bootstrap 3 helpers */ .navbar-form input, .form-inline input { width:auto; } /* end */ /* custom theme + Bootstrap resets */ @import url('http://fonts.googleapis.com/css?family=Open+Sans:300,400'); header { min-height:180px; margin-bottom:5px; } /* only apply sticky columns on wider screens */ @media (min-width: 1200px) { #sidebar { margin-left:15px; } #content { padding-right:15px; } #sidebar.affix-top { position: static; } #sidebar.affix { position: fixed !important; top: 20px; width:200px; } #midCol.affix-top { position: static; } #midCol.affix-bottom { padding-top:0; } #midCol.affix { position:fixed !important; top: 20px; width:292px; } } .affix { position:static; } body { font-family: 'Open Sans',Arial,Helvetica,Sans-Serif; font-weight:300; color:#676767; background-color:#efefef; } a,a:hover { color:#77CCDD; text-decoration:none; } .highlight-bk { background-color:#77CCDD; padding:1px; width:100%; } .highlight { color:#77CCDD; } h3.highlight { padding-top:13px; padding-bottom:14px; border-bottom:2px solid #77CCDD; } .navbar { background-color:#77CCDD; color:#ffffff; border-radius:0; } .navbar-nav > li > a { color:#fff; padding-left:20px; padding-right:20px; border-left:1px solid #66BBCC; } .navbar-nav > li:last-child > a { border-right:1px solid #66BBCC; } .navbar-nav li a:hover { background-color:#66BBCC; } .navbar-nav > .open > a, .navbar-nav > .open > a:hover, .navbar-nav > .open > a:focus { color: #000; opacity:.9; } .navbar-brand { color:#fff; } .accordion-group { border-width:0; } .dropdown-menu { min-width: 250px; } .caret { color:#fff; } .navbar-toggle { color:#fff; border-width:0; } .navbar-toggle:hover { background-color:#fff; } .panel,.panel-heading { border-radius:0; border-width:0; -webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.09); box-shadow: 0 3px 3px rgba(0, 0, 0, 0.09); } .thumbnail { margin-bottom:8px; border-radius:0; } .well { border-radius:0; } .accordion-heading .accordion-toggle, .accordion-inner, .nav-stacked li > a { padding-left:1px; } footer { height:50px; background-color:#dfdfdf; color:#888; margin-top:20px; } @media (min-width: 992px) { .no-gutter.row > div[class*='col-md'] { padding-left: 0; padding-right: 0; } .no-gutter.row > .col-md-12 { width: 99.99999999999999%; *width: 99.93055555555554%; } .no-gutter.row .col-md-11 { width: 91.66666666666666%; *width: 91.59722222222221%; } .no-gutter.row > .col-md-10 { width: 83.33333333333331%; *width: 83.26388888888887%; } .no-gutter.row > .col-md-9 { width: 74.99999999999999%; *width: 74.93055555555554%; } .no-gutter.row > .col-md-8 { width: 66.66666666666666%; *width: 66.59722222222221%; } .no-gutter.row > .col-md-7 { width: 58.33333333333333%; *width: 58.263888888888886%; } .no-gutter.row > .col-md-6 { width: 49.99999999999999%; } .no-gutter.row > .col-md-4 { width: 33.33333333333333%; } .no-gutter.row > .col-md-3 { width: 24.999999999999996%; *width: 24.930555555555554%; } .no-gutter.row > .col-md-2 { width: 16.666666666666664%; *width: 16.59722222222222%; } .no-gutter.row > .col-md-1 { width: 8.333333333333332%; *width: 8.263888888888888%; } } /* end custom theme */
$('#sidebar').affix({ offset: { top: 230, bottom: 100 } }); $('#midCol').affix({ offset: { top: 230, bottom: 100 } });

Related: See More


Questions / Comments: