Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- *****THIS PART GOES AFTER <STYLE TYPE="TEXT/CSS">********
- .tabcon {
- position: fixed;
- left: 20px;
- top: 20px;
- }
- .tabicon {
- width: 50px;
- height: 50px;
- background:url(http://i57.tinypic.com/1z3xb2p.png);
- -moz-transition: transform .8s ease-in-out;
- -webkit-transition: -webkit-transform .8s ease-in-out;
- -o-transition: -webkit-transform .8s ease-in-out;
- -ms-transition: -webkit-transform .8s ease-in-out;
- }
- .tabicon:hover {
- -moz-transform: rotate(360deg);
- -webkit-transform: rotate(360deg);
- -o-transform: rotate(360deg);
- -ms-transform: rotate(360deg);
- }
- .conline {
- width: 0px;
- height: 2px;
- background: white;
- transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- position: relative;
- left: 50px;
- top: 15px;
- }
- .tabicon:hover .conline {
- width: 100px;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- transition-delay: 0.8s;
- -webkit-transition-delay: 0.8s;
- -moz-transition-delay: 0.8s;
- -o-transition-delay: 0.8s;
- }
- .con {
- width: 100px;
- height: 0px;
- background: white;
- overflow: hidden;
- transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- position: relative;
- }
- .tabicon:hover .con {
- width: 86px;
- padding: 7px;
- height: 150px;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- transition-delay: 1.3s;
- -webkit-transition-delay: 1.3s;
- -moz-transition-delay: 1.3s;
- -o-transition-delay: 1.3s;
- }
- .context {
- font-family: arial;
- font-size: 9px;
- color: #b3b1b1;
- text-align: justify;
- opacity: 0;
- transition-duration: 0.5s;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- }
- .tabicon:hover .context {
- opacity: 1;
- -webkit-transition-duration: 0.5s;
- -o-transition-duration: 0.5s;
- -moz-transition-duration: 0.5s;
- transition-delay: 1.8s;
- -webkit-transition-delay: 1.8s;
- -moz-transition-delay: 1.8s;
- -o-transition-delay: 1.8s;
- }
- ****THIS PART GOES AFTER <BODY>*******
- <div class="tabcon">
- <div class="tabicon"><div class="conline"><div class="con"><div class="context">
- Hello my name is Adrian and I am the bomb.com. This is my first tab and it looks really nice. Check the next tab for features!
- </div></div></div></div>
- <div class="tabicon"><div class="conline"><div class="con"><div class="context">
- This updates tab has three tabs, all featuring aliens! They spin when you hover over them (how cute).<p />When you hover over the tab, the box will appear and expand. You can control how the short or tall the box expands in the CSS.
- </div></div></div></div>
- <div class="tabicon"><div class="conline"><div class="con"><div class="context">
- You can be <b>bold</b> or <i>italic</i> or <u>underlined</u> or even put a <s>strikethrough</s> in the updates tab!
- </div></div></div></div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment