"embed google form and tab counter "
Bootstrap 4.1.1 Snippet by murshidcee

<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="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!doctype html> <html lang="pt-br"> <head> <!-- Required meta tags --> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <!-- Bootstrap CSS --> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <!-- Bootstrap JS --> <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script> <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script> <!-- Font Style --> <link href="https://fonts.googleapis.com/css?family=Roboto:400,500,700" rel="stylesheet"> <!-- Font Awesome --> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css"> <title></title> </head> <body> <!-- Section Exames --> <section id="exames"> <div class="hero-image"> <div class="container h-100"> <div class="row h-100"> <div class="col-md-12 justify-content-center align-items-center"> <section id="timer"> <div class="row"> <div class="col-xs-12 col-sm-12 col-md-6 countdown-wrapper text-center mb20"> <div class="card"> <div class="card-block"> <div id="countdown"> <div class="well"> <span id="min" class="timer bg-info"></span> <span id="sec" class="timer bg-primary"></span> </div> </div> </div> </div> </div> </div> </section> <div class="hero-text"> <nav> <div class="nav nav-tabs nav-fill" id="nav-tab" role="tablist"> <!-- <a class="nav-item nav-link active" id="nav-home-tab" data-toggle="tab" href="#nav-home" role="tab" aria-controls="nav-home" aria-selected="true"> Ciências Biológicas --> <embed src="https://docs.google.com/forms/d/e/1FAIpQLSfOQ862xfPWdDPbLuY2w2cfW5GuTy6ehr-C7yC7kzwbGaSRxQ/viewform" width="100%" height="1000px" /> </div> </nav> </div> </div> </div> </div> </div> </section> </body> </html>
@import url(http://fonts.googleapis.com/css?family=Lato:100,400); .mb20{ margin-bottom:0px; } section { padding: 0px 0; } #timer .countdown-wrapper { margin: 0 auto; } #timer #countdown { font-family: 'Lato', sans-serif; text-align: center; color: #eee; text-shadow: 1px 1px 5px black; padding: 10px 0; } #timer .countdown-wrapper #countdown .timer { margin: 10px; padding: 1px; font-size: 20px; border-radius: 5%; cursor: pointer; } #timer .col-md-4.countdown-wrapper #countdown .timer { margin: 10px; padding: 20px; font-size: 35px; border-radius: 50%; cursor: pointer; } #timer .countdown-wrapper #countdown #hour { -webkit-box-shadow: 0 0 0 5px rgba(92, 184, 92, .5); -moz-box-shadow: 0 0 0 5px rgba(92, 184, 92, .5); box-shadow: 0 0 0 5px rgba(92, 184, 92, .5); } #timer .countdown-wrapper #countdown #hour:hover { -webkit-box-shadow: 0px 0px 15px 1px rgba(92, 184, 92, 1); -moz-box-shadow: 0px 0px 15px 1px rgba(92, 184, 92, 1); box-shadow: 0px 0px 15px 1px rgba(92, 184, 92, 1); } #timer .countdown-wrapper #countdown #min { -webkit-box-shadow: 0 0 0 5px rgba(91, 192, 222, .5); -moz-box-shadow: 0 0 0 5px rgba(91, 192, 222, .5); box-shadow: 0 0 0 5px rgba(91, 192, 222, .5); } #timer .countdown-wrapper #countdown #min:hover { -webkit-box-shadow: 0px 0px 15px 1px rgb(91, 192, 222); -moz-box-shadow: 0px 0px 15px 1px rgb(91, 192, 222); box-shadow: 0px 0px 15px 1px rgb(91, 192, 222); } #timer .countdown-wrapper #countdown #sec { -webkit-box-shadow: 0 0 0 5px rgba(2, 117, 216, .5); -moz-box-shadow: 0 0 0 5px rgba(2, 117, 216, .5); box-shadow: 0 0 0 5px rgba(2, 117, 216, .5) } #timer .countdown-wrapper #countdown #sec:hover { -webkit-box-shadow: 0px 0px 15px 1px rgba(2, 117, 216, 1); -moz-box-shadow: 0px 0px 15px 1px rgba(2, 117, 216, 1); box-shadow: 0px 0px 15px 1px rgba(2, 117, 216, 1); } #timer .countdown-wrapper .card .card-footer .btn { margin: 2px 0; } @media (min-width: 992px) and (max-width: 1199px) { #timer .countdown-wrapper #countdown .timer { margin: 10px; padding: 20px; font-size: 65px; border-radius: 50%; cursor: pointer; } } @media (min-width: 768px) and (max-width: 991px) { #timer .countdown-wrapper #countdown .timer { margin: 10px; padding: 20px; font-size: 72px; border-radius: 50%; cursor: pointer; } } @media (max-width: 768px) { #timer .countdown-wrapper #countdown .timer { margin: 10px; padding: 20px; font-size: 73px; border-radius: 50%; cursor: pointer; } } @media (max-width: 767px) { #timer .countdown-wrapper #countdown #hour, #timer .countdown-wrapper #countdown #min, #timer .countdown-wrapper #countdown #sec { font-size: 60px; border-radius: 4%; } } @media (max-width: 576px){ #timer .countdown-wrapper #countdown #hour, #timer .countdown-wrapper #countdown #min, #timer .countdown-wrapper #countdown #sec { font-size: 25px; border-radius: 4%; } #timer .countdown-wrapper #countdown .timer { padding: 13px; } }
$( document ).ready(function() { setInterval(function time(){ var d = new Date(); var hours = 24 - d.getHours(); var min = 60 - d.getMinutes(); if((min + '').length == 1){ min = '0' + min; } var sec = 60 - d.getSeconds(); if((sec + '').length == 1){ sec = '0' + sec; } jQuery('#countdown #hour').html(hours); jQuery('#countdown #min').html(min); jQuery('#countdown #sec').html(sec); }, 1000); });

Related: See More


Questions / Comments: