"tcb10"
Bootstrap 4.0.0 Snippet by mrservon22

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html>
<head>
<title>Bootstrap Example</title>
<meta charset="utf-8">
<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">
<style>
.Accordion { border-left: solid 1px gray; border-right: solid 1px white; border-bottom: solid 1px white; overflow: hidden;}
.video object, .video embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%;}
img { max-width: auto; height: 100%;}
header nav a:hover {color: white; }
/* shrinking header */
header {width: 100%; height: 136px; overflow: hidden; position: fixed; top: 0; left: 0; z-index: 999; background-color: #000000; -webkit-transition: height 0.3s; transition: height 0.3s; }
header.smaller {height: 75px; }
header span#logo {display: inline-block; height: 110px; line-height: 110px; float: left; -webkit-transition: all 0.3s; transition: all 0.3s; margin-bottom:-20px; }
header.smaller span#logo {width: auto; height: 75px; margin-bottom: 0px; padding-left: 20px;}
header.smaller .tcb-quote-carousel {display:none!important}
span.subtext {color:black; margin-top: -20px;}
/* shrinking nav */
header nav a {line-height: 150px; margin-left: 20px; color: #ffffff; font-weight: 700; font-size: 18px;-webkit-transition: all 0.3s; transition: all 0.3s; }
header.smaller nav a {line-height: 75px; }
.container {padding: 0 10px 0px 10px; max-width: 1550px; margin-right: auto; margin-left: auto;}
.container-fluid {width: 100%; padding-right: 10px; padding-left: 10px; margin-right: auto; margin-left: auto;}
.clearfix::after {visibility: hidden; display: block; content: ""; clear: both; height: 0px;}
/* tcb-quote-carousel.CSS */
.tcb-quote-carousel {background: #f9f9f9; padding-top: 0px; margin: 0px 25px 0px 25px; .quote {color: rgba(100,0,0,.5); text-align: center; margin-bottom: 0px;}.carousel {padding-top: 10px; padding-bottom: 0px;.carousel-indicators > li {background-color: #e84a64;border: none;}} blockquote {margin-top: 0px; text-align: center;border: none;}}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
2
3
4
5
6
7
8
9
10
11
12
13
$(document).ready(function() {
$(window).on("scroll", function() {
if ($(window).scrollTop() >= 120) {
$("header").addClass("smaller");
} else {
$("header").removeClass("smaller");
}
});
});
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: