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
"Best Text Animation using CSS and Bootstrap"
Bootstrap 3.0.0 Snippet by
webcoderskull
3.0.0
animation
Preview
HTML
CSS
View Full Screen
Fork
Fork this
11.9K
 
15 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="container"> <div class="row"> <svg viewBox="0 0 860 250"> <symbol id="web-coderskull"> <text text-anchor="middle" x="50%" y="70%">Coder Skull</text> </symbol> <g class = "webcoderskull"> <use xlink:href="#web-coderskull" class="web-coder-skull"></use> <use xlink:href="#web-coderskull" class="web-coder-skull"></use> <use xlink:href="#web-coderskull" class="web-coder-skull"></use> <use xlink:href="#web-coderskull" class="web-coder-skull"></use> <use xlink:href="#web-coderskull" class="web-coder-skull"></use> </g> </svg> </div> <div class="row"> <h4> By: Web Coder Skull</h4> </div> </div> </div>
@import url('https://fonts.googleapis.com/css?family=Roboto'); html, body{ height: 100%; font-weight: 800; } body{ background: #000; font-family: 'Roboto', sans-serif; } h4{ color:#fff; } svg { display: block; font: 10.5em 'Roboto'; font-family: 'Roboto', sans-serif; width: 960px; height: 300px; margin: 0 auto; } .web-coder-skull { fill: none; stroke: white; stroke-dasharray: 6% 29%; stroke-width: 5px; stroke-dashoffset: 0%; animation: stroke-offset 5.5s infinite linear; } .web-coder-skull:nth-child(6){ stroke: #263238; animation-delay: -1; } .web-coder-skull:nth-child(2){ stroke: #26abe2; animation-delay: -2s; } .web-coder-skull:nth-child(3){ stroke: orange; animation-delay: -3s; } .web-coder-skull:nth-child(4){ stroke: red; animation-delay: -4s; } .web-coder-skull:nth-child(5){ stroke: #fff; animation-delay: -5s; } .web-coder-skull:nth-child(1){ stroke: green; animation-delay: -1s; } @keyframes stroke-offset{ 100% {stroke-dashoffset: -35%;} }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
Awesome, thanks :)
karloromeo
()
-
7 years ago
-
Reply
0
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76