ok
Direktori : /proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/admin/ |
Current File : //proc/thread-self/root/home2/selectio/public_html/tnpsctestbatch.com/admin/demo.php |
<div class="container"> <div class="row"> <div class="col-md-3 col-sm-6"> <div class="counter"> <span class="counter-value">1963</span> <h3>Web Designing</h3> </div> </div> <div class="col-md-3 col-sm-6"> <div class="counter blue"> <span class="counter-value">1854</span> <h3>Web Development</h3> </div> </div> </div> </div> <style> .counter{ color: #fff; background: linear-gradient(to right bottom, #FFD81B, #f9b12a); font-family: 'Dosis', sans-serif; text-align: center; width: 180px; height: 180px; padding: 40px 20px 20px; margin: 0 auto; border-radius: 10px 10px 100px 100px; box-shadow: 0 0 15px -5px rgba(0,0,0,0.3); overflow: hidden; position: relative; z-index: 1; } .counter:after{ content: ''; background-color: #f9b12a; height: 100%; width: 100%; position: absolute; left: 0; top: 0; z-index: -1; clip-path: polygon(100% 0, 0% 100%, 100% 100%); } .counter .counter-value{ font-size: 55px; font-weight: 600; line-height: 40px; margin: 0 0 15px; display: block; } .counter h3{ font-size: 18px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 20px; } .counter.green{ background: linear-gradient(to right bottom, #a9dd23, #52C242); } .counter.green:after{ background: #52C242; } .counter.cgreen{ background: linear-gradient(to right bottom, #01AD9F, #008888); } .counter.cgreen:after{ background: #008888; } .counter.blue{ background: linear-gradient(to right bottom, #00C5EF, #0092f4); } .counter.blue:after{ background: #0092f4; } @media screen and (max-width:990px){ .counter{ margin-bottom: 40px; } </style> <script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script> <script> $(document).ready(function(){ $('.counter-value').each(function(){ $(this).prop('Counter',0).animate({ Counter: $(this).text() },{ duration: 3500, easing: 'swing', step: function (now){ $(this).text(Math.ceil(now)); } }); }); }); </script> </script>