Home » Snippets » CSS News Ticker CSS News Ticker - Snippet --- jQuery jQuery UI Bootstrap Angular Backbone D3 Ember GreenSock TweenMax Handlebars Lodash Modernizr Polymer React React DOM Snap.svg Three.js Underscore Zepto ZingChart --- Bootstrap Foundation Animate.css Preview HTML CSS JS <div id="news_ticker"> <span>Latest News</span> <ul> <li><a href="#">iPhone 5</a></li> <li><a href="#">iPad 3</a></li> <li><a href="#">MacBook Air</a></li> <li><a href="#">MacBook Pro</a></li> </ul> </div> html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0} body { font: 14px "Helvetica Neue", Helvetica, Arial, sans-serif; background: #003348; } #news_ticker { background: #002b3b; width: 300px; height: 27px; margin: 40px auto 0; overflow: hidden; -webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px; padding: 3px; position: relative; -webkit-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.5); -moz-box-shadow: inset 0px 1px 2px rgba(0,0,0,0.5); box-shadow: inset 0px 1px 2px rgba(0,0,0,0.5); } span { float: left; color: rgba(0,0,0,.8); color: #001b25; background: #00425a; padding: 6px; position: relative; border-radius: 4px; font-size: 12px; -webkit-box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.2), 0px 1px 1px rgba(0,0,0,0.5); -moz-box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.2), 0px 1px 1px rgba(0,0,0,0.5); box-shadow: inset 0px 1px 1px rgba(255, 255, 255, 0.2), 0px 1px 1px rgba(0,0,0,0.5); background: rgb(0,75,103); background: -moz-linear-gradient(top, rgba(0,75,103,1) 0%, rgba(0,53,72,1) 100%); background: -webkit-linear-gradient(top, rgba(0,75,103,1) 0%,rgba(0,53,72,1) 100%); background: -o-linear-gradient(top, rgba(0,75,103,1) 0%,rgba(0,53,72,1) 100%); background: -ms-linear-gradient(top, rgba(0,75,103,1) 0%,rgba(0,53,72,1) 100%); background: linear-gradient(top, rgba(0,75,103,1) 0%,rgba(0,53,72,1) 100%); filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#004b67', endColorstr='#003548',GradientType=0 ); } ul { float: left; padding-left: 20px; -webkit-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite; -moz-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite; -ms-animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite; animation: ticker 10s cubic-bezier(1, 0, .5, 0) infinite; } ul:hover { -webkit-animation-play-state: paused; -moz-animation-play-state: paused; -ms-animation-play-state: paused; animation-play-state: paused; } li {line-height: 26px;} #news_ticker a { color: #fff; text-decoration: none; font-size: 13px; } @-webkit-keyframes ticker { 0% {margin-top: 0;} 25% {margin-top: -26px;} 50% {margin-top: -52px;} 75% {margin-top: -78px;} 100% {margin-top: 0;} } @-moz-keyframes ticker { 0% {margin-top: 0;} 25% {margin-top: -26px;} 50% {margin-top: -52px;} 75% {margin-top: -78px;} 100% {margin-top: 0;} } @-ms-keyframes ticker { 0% {margin-top: 0;} 25% {margin-top: -26px;} 50% {margin-top: -52px;} 75% {margin-top: -78px;} 100% {margin-top: 0;} } @keyframes ticker { 0% {margin-top: 0;} 25% {margin-top: -26px;} 50% {margin-top: -52px;} 75% {margin-top: -78px;} 100% {margin-top: 0;} } Tutorials Palace 20 December, 2018 No Comments 95 Views CSS News Ticker CSS Layouts CSS Layouts Download CSS News Ticker Code Fullscreen Tutor Play Walkthrough Related Snippets Box Shadow Editor Canvas Particles Emission Dripping Paint CSS3 Animation National flag of Mongolia Particles Emission Based on Mouse Moves Custom Cursor Images with CSS Particle System Leaving Trails CSS3 LT Form Particles Gravity Effect Leave a Reply Cancel replyYour email address will not be published. Required fields are marked *Name * Email * Website Notify me of new posts by email.