Navigation
Home
Menu bar style
Css styles
Games
Downloads
Creative CSS3 Animation Art 3 (HTML and CSS Tutorial)
Here are some of the best experiments in
CSS3
animation to inspire you. ...
Demo
Css code (Demo)
<!-- Get Css Code Here @import url(http://fonts.googleapis.com/css?family=Raleway:400,500,700,900|Dosis:800|Playfair+Display:400,400italic,900italic|Lora:700|Syncopate:700|Roboto+Condensed:300italic|Oswald:700); @font-face { font-weight: normal; font-style: normal; font-family: 'codropsicons'; src:url('../fonts/codropsicons/codropsicons.eot'); src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'), url('../fonts/codropsicons/codropsicons.woff') format('woff'), url('../fonts/codropsicons/codropsicons.ttf') format('truetype'), url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg'); } *, *:after, *:before { box-sizing: border-box; } .clearfix:before, .clearfix:after {display: table; content: ''; } .clearfix:after { clear: both; } body { background: #fff; color: #1e1a1b; font-weight: 500; font-size: 1em; font-family: 'Raleway', Arial, sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } a { outline: none; color: #dd3e62; text-decoration: none; } a:hover { color: #1e1a1b; } a:focus { outline: none; } .hidden { height: 0; width: 0; overflow: hidden; position: absolute; } /* Grid */ .grid__item { height: calc(100vh - 40px); min-height: 460px; max-width: calc(100vw - 40px); background: #DDD; margin: 20px; padding: 100px 0; z-index: 1; position: relative; text-align: center; display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; -webkit-transform: translate3d(0,0,0); /* Solves Safari bug because of SVG clipping mask */ } .grid__item p { font-size: 1.5em; font-weight: bold; color: #777; } /* Background colors */ .color-1 { background-color: #53B7EE; } /* Related demos */ -->
Css code (linkstyles)
<!-- Get Css Code Here /* General link styles */ .link { outline: none; text-decoration: none; position: relative; font-size: 8em; line-height: 1; color: #9e9ba4; display: inline-block; } /* Kukuri */ .link--kukuri { text-transform: uppercase; font-weight: 900; overflow: hidden; line-height: 0.75; color:#fff; } .link--kukuri:hover { color: #fff; } .link--kukuri::after { content: ''; position: absolute; height: 16px; width: 100%; top: 50%; margin-top: -8px; right: 0; background:#424242; -webkit-transform: translate3d(-100%,0,0); transform: translate3d(-100%,0,0); -webkit-transition: -webkit-transform 0.4s; transition: transform 0.4s; -webkit-transition-timing-function: cubic-bezier(0.7,0,0.3,1); transition-timing-function: cubic-bezier(0.7,0,0.3,1); } .link--kukuri:hover::after { -webkit-transform: translate3d(100%,0,0); transform: translate3d(100%,0,0); } .link--kukuri::before { content: attr(data-letters); position: absolute; z-index: 2; overflow: hidden; color: #424242; white-space: nowrap; width: 0%; -webkit-transition: width 0.4s 0.3s; transition: width 0.4s 0.3s; } .link--kukuri:hover::before { width: 100%; } -->
Html code
<!-- Get Html Code here <!DOCTYPE html> <head> <link rel="stylesheet" type="text/css" href="css/demo.css" /> <link rel="stylesheet" type="text/css" href="css/linkstyles.css" /> </head> <body> <div class="container"> <div class="grid"> <div class="grid__item color-1"> <a class="link link--kukuri" href="#" data-letters="CSS Builder">CSS Builder</a> </div> </div> </div> </body> </html> -->
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment