"simple website"
Bootstrap 4.1.1 Snippet by summer1hp

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/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 ----------> <nav class="navbar navbar-expand-lg navbar-dark"> <div class="container"> <a class="navbar-brand text-white" href="#">Theroy</a> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <span class="navbar-toggler-icon"></span> </button> <div class="collapse navbar-collapse" id="navbarSupportedContent"> <ul class="navbar-nav ml-auto"> <li class="nav-item active"> <a class="nav-link text-white" href="#">Home <span class="sr-only">(current)</span></a> </li> <li class="nav-item"> <a class="nav-link text-white" href="#">Generic</a> </li> <li class="nav-item"> <a class="nav-link text-white" href="#">Elements</a> </li> </ul> </div> </div> </nav> <header style="background:url(https://images.pexels.com/photos/733475/pexels-photo-733475.jpeg?auto=compress&cs=tinysrgb&dpr=2&h=650&w=940); background-size: cover; background-position: center; border-top: 8px solid #5385C1;"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="te text-center text-white"> <h1>Welcome to theroy</h1> <p>A free responsive HTML5 website template by TAMPLATED</p> </div> </div> </div> </div> </header> <section id="about-section"> <div class="container"> <div class="row"> <div class="col-md-4"> <div class="about-text border-right"> <h1>Megna tempus sed amet aliquam veroeros</h1> <p class="">It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p> <button class="btn btn-primary">More</button> </div> </div> <div class="col-md-4"> <div class="about-text border-right"> <h1>Megna tempus sed amet aliquam veroeros</h1> <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p> <button class="btn btn-primary">More</button> </div> </div> <div class="col-md-4"> <div class="about-text"> <h1>Megna tempus sed amet aliquam veroeros</h1> <p>It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout.</p> <button class="btn btn-primary">More</button> </div> </div> </div> </div> </section> <section id="team-section"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="team-top-header text-center"> <h1>Team Member</h1> <p>Megna tempus sed amet</p> </div> <div class="row"> <div class="col-md-3"> <div class="team-member-id text-center border"> <img class="img-fluid rounded-circle" src="http://cdn.savoy.nordicmade.com/wp-content/uploads/2015/08/team-member-2.jpg" alt="" /> <h1>Marima</h1> <p>Co-founder</p> </div> </div> <div class="col-md-3"> <div class="team-member-id text-center border"> <img class="img-fluid rounded-circle" src="http://cdn.savoy.nordicmade.com/wp-content/uploads/2015/08/team-member-2.jpg" alt="" /> <h1>Marima</h1> <p>Co-founder</p> </div> </div> <div class="col-md-3"> <div class="team-member-id text-center border"> <img class="img-fluid rounded-circle" src="http://cdn.savoy.nordicmade.com/wp-content/uploads/2015/08/team-member-2.jpg" alt="" /> <h1>Marima</h1> <p>Co-founder</p> </div> </div> <div class="col-md-3"> <div class="team-member-id text-center border"> <img class="img-fluid rounded-circle" src="http://cdn.savoy.nordicmade.com/wp-content/uploads/2015/08/team-member-2.jpg" alt="" /> <h1>Marima</h1> <p>Co-founder</p> </div> </div> </div> </div> </div> </div> </section> <section id="recent-section"> <div class="container"> <div class="row"> <div class="col-md-12"> <div class="team-top-header text-center"> <h1>Nunc Dignism</h1> <p>Megna tempus sed amet</p> </div> <div class="row"> <div class="col-md-6"> <div class="recent-text"> <img class="img-fluid" src="https://images.pexels.com/photos/113727/pexels-photo-113727.jpeg?auto=compress&cs=tinysrgb&h=350" alt="" /> <h1>Megna tempus sed</h1> <p>Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p> <button class="btn btn-primary">More</button> </div> </div> <div class="col-md-6"> <div class="recent-text"> <img class="img-fluid" src="https://images.pexels.com/photos/113727/pexels-photo-113727.jpeg?auto=compress&cs=tinysrgb&h=350" alt="" /> <h1>Megna tempus sed</h1> <p>Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).</p> <button class="btn btn-primary">More</button> </div> </div> </div> </div> </div> </div> </section> <section> <div class="container"> <div class="row"> <br/> <div class="col text-center"> <h2>Bootstrap 4 counter</h2> <p>counter to count up to a target number</p> </div> </div> <div class="row text-center"> <div class="col"> <div class="counter"> <i class="fa fa-code fa-2x"></i> <h2 class="timer count-title count-number" data-to="100" data-speed="1500"></h2> <p class="count-text ">Our Customer</p> </div> </div> <div class="col"> <div class="counter"> <i class="fa fa-coffee fa-2x"></i> <h2 class="timer count-title count-number" data-to="1700" data-speed="1500"></h2> <p class="count-text ">Happy Clients</p> </div> </div> <div class="col"> <div class="counter"> <i class="fa fa-lightbulb-o fa-2x"></i> <h2 class="timer count-title count-number" data-to="11900" data-speed="1500"></h2> <p class="count-text ">Project Complete</p> </div></div> <div class="col"> <div class="counter"> <i class="fa fa-bug fa-2x"></i> <h2 class="timer count-title count-number" data-to="157" data-speed="1500"></h2> <p class="count-text ">Coffee With Clients</p> </div> </div> </div> </div> </section> <footer style="padding: 21px;"> <div class="container"> <div class="row"> <div class="col-md-6"> This website copyright by Hasan </div> <div class="col-md-6 col-6"> <div class="social-icon text-right"> <i class="fab fa-facebook-f"></i> <i class="fab fa-twitter"></i> <i class="fab fa-facebook-f"></i> <i class="fab fa-facebook-f"></i> <i class="fab fa-facebook-f"></i> </div> </div> </div> </div> </footer>
@import url('https://fonts.googleapis.com/css?family=Raleway:100,100i,200,200i,300,300i,400,400i,500,500i,600,600i,700,700i,800'); body{ font-family: 'Raleway', sans-serif; font-size:14px; color:#9a9a9a; } .navbar { top: 60px; } .te{ padding-top: 115px; padding-bottom:185px; } .te h1{ font-size: 60px; font-weight: 100; margin-bottom: 25px; } .te p{ font-size:16px; } #about-section{ padding-top:85px; padding-bottom:110px; } .about-text h1{ font-size:25px; font-weight:300; } .about-text p{ font-size:16px; } #team-section{ padding: 50px 0; background: #5385C1; color:#fff; } .team-top-header h1 { font-weight: 300; } .team-member-id{ padding-top: 25px; } .team-member-id.text-center img { width: 100px; height: 100px; } .team-member-id.text-center h1 { font-size: 18px; font-weight: 300; } #recent-section{ padding:50px 0; } .recent-text h1{ font-weight: 300; font-size: 25px; } .counter { background-color:#f5f5f5; padding: 20px 0; border-radius: 5px; } .count-title { font-size: 40px; font-weight: normal; margin-top: 10px; margin-bottom: 0; text-align: center; } .count-text { font-size: 13px; font-weight: normal; margin-top: 10px; margin-bottom: 0; text-align: center; } .fa-2x { margin: 0 auto; float: none; display: table; color: #4ad1e5; }
(function ($) { $.fn.countTo = function (options) { options = options || {}; return $(this).each(function () { // set options for current element var settings = $.extend({}, $.fn.countTo.defaults, { from: $(this).data('from'), to: $(this).data('to'), speed: $(this).data('speed'), refreshInterval: $(this).data('refresh-interval'), decimals: $(this).data('decimals') }, options); // how many times to update the value, and how much to increment the value on each update var loops = Math.ceil(settings.speed / settings.refreshInterval), increment = (settings.to - settings.from) / loops; // references & variables that will change with each update var self = this, $self = $(this), loopCount = 0, value = settings.from, data = $self.data('countTo') || {}; $self.data('countTo', data); // if an existing interval can be found, clear it first if (data.interval) { clearInterval(data.interval); } data.interval = setInterval(updateTimer, settings.refreshInterval); // initialize the element with the starting value render(value); function updateTimer() { value += increment; loopCount++; render(value); if (typeof(settings.onUpdate) == 'function') { settings.onUpdate.call(self, value); } if (loopCount >= loops) { // remove the interval $self.removeData('countTo'); clearInterval(data.interval); value = settings.to; if (typeof(settings.onComplete) == 'function') { settings.onComplete.call(self, value); } } } function render(value) { var formattedValue = settings.formatter.call(self, value, settings); $self.html(formattedValue); } }); }; $.fn.countTo.defaults = { from: 0, // the number the element should start at to: 0, // the number the element should end at speed: 1000, // how long it should take to count between the target numbers refreshInterval: 100, // how often the element should be updated decimals: 0, // the number of decimal places to show formatter: formatter, // handler for formatting the value before rendering onUpdate: null, // callback method for every time the element is updated onComplete: null // callback method for when the element finishes updating }; function formatter(value, settings) { return value.toFixed(settings.decimals); } }(jQuery)); jQuery(function ($) { // custom formatting example $('.count-number').data('countToOptions', { formatter: function (value, options) { return value.toFixed(options.decimals).replace(/\B(?=(?:\d{3})+(?!\d))/g, ','); } }); // start all the timers $('.timer').each(count); function count(options) { var $this = $(this); options = $.extend({}, options || {}, $this.data('countToOptions') || {}); $this.countTo(options); } });

Related: See More


Questions / Comments: