Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Ticker mk2207"
Bootstrap 4.1.1 Snippet by
Milind_Kamthe
4.1.1
Preview
HTML
CSS
View Full Screen
Fork
Fork this
691
 
0 Fav
Post to Facebook
Tweet this
<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 ----------> <div class="container"> <div class="row"> <h2 class="mk">Ticker:- CSS</h2> </div> </div> <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">Kesan btaae, kaeko tujhko chahe,yaara btaa bhi naa pae, baaten dilo di, dekho jubaa di, aankhe tujhe smjhaae,tu janta nahi, kaaeko nahi, tu jantaa nahi <span class="glyphicon glyphicon-forward"></span> Russo brothers ask for fans not to spoil Avengers: Infinity War <span class="glyphicon glyphicon-forward"></span> Bucky's Arm Miraculously Regenerates On Avengers: Infinity War Poster</marquee> <span class="onoffswitch3-switch">BREAKING NEWS (X) </label> </div>
.mk{text-align:center;margin:0 auto;background:blue;color:#fff;padding:5px 15px;border-radius:15px;} .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;letter-spacing:10px;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: #EEEEEE; color: #FFFFFF; } .onoffswitch3-inner .onoffswitch3-inactive { width: 100px; padding-left: 16px; background-color: #EEEEEE; 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: #27A1CA; left: 0; width: 160px; } .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
Free Template
Rotating CSS Card
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76