"news panel"
Bootstrap 3.3.0 Snippet by muhittinbudak

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <h2>news</h2> </div> <div class="row"> <div class="onoffswitch3"> <input type="checkbox" name="onoffswitch3" class="onoffswitch3-checkbox" id="myonoffswitch3" checked> <label class="onoffswitch3-label" for="myonoffswitch3"> <span class="onoffswitch3-inner"> <span class="onoffswitch3-active"> <marquee class="scroll-text">  <span class="glyphicon glyphicon-forward"></span> IT IS NOT OUR ABILITIES THAT SHOW WHAT WE TRULY ARE. IT IS OUR CHOICES.  <span class="glyphicon glyphicon-forward"></span> PROMISE ME YOU WILL SURVIVE THAT. YOU WILL NEVER GIVE UP. NO MATTER WHAT HAPPENS. NO MATTER HOW HOPELESS. PROMISE ME NOW. </marquee> <span class="onoffswitch3-switch">GÜNCEL <span class="glyphicon glyphicon-remove"></span></span> </span> <span class="onoffswitch3-inactive"><span class="onoffswitch3-switch">GÖSTER</span></span> </span> </label> </div> </div> </div>
@import url('https://fonts.googleapis.com/css?family=Montserrat'); .onoffswitch3 { position: relative; -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none; } .onoffswitch3-checkbox { display: none; } .onoffswitch3-label { display: block; overflow: hidden; cursor: pointer; border: 0px solid #999999; border-radius: 0px; } .onoffswitch3-inner { display: block; width: 200%; margin-left: -100%; -moz-transition: margin 0.3s ease-in 0s; -webkit-transition: margin 0.3s ease-in 0s; -o-transition: margin 0.3s ease-in 0s; transition: margin 0.3s ease-in 0s; } .onoffswitch3-inner > span { display: block; float: left; position: relative; width: 50%; height: 30px; padding: 0; line-height: 30px; font-size: 14px; color: white; font-family: 'Montserrat', sans-serif; font-weight: bold; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; } .onoffswitch3-inner .onoffswitch3-active { padding-left: 10px; background-color: #F0AD4E; color: #FFFFFF; } .onoffswitch3-inner .onoffswitch3-inactive { width: 100px; padding-left: 16px; background-color: #F0AD4E; color: #FFFFFF; text-align: right; } .onoffswitch3-switch { display: block; width: 50%; margin: 0px; text-align: center; border: 0px solid #999999;border-radius: 0px; position: absolute; top: 0; bottom: 0; } .onoffswitch3-active .onoffswitch3-switch { background: #C42B33; left: 0; width: 100px; } .onoffswitch3-inactive{ background: #A1A1A1; right: 0; width: 20px; } .onoffswitch3-checkbox:checked + .onoffswitch3-label .onoffswitch3-inner { margin-left: 0; } .glyphicon-remove{ padding: 3px 0px 0px 0px; color: #fff; background-color: #000; height: 25px; width: 25px; border-radius: 15px; border: 2px solid #fff; } .scroll-text{ color: #000; }

Related: See More


Questions / Comments: