• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Web Designer Pad

Web Designer Pad

Web Design Blog, Trends, Tips, Tutorials and More...

  • Articles
  • Tools
  • Inspiration
  • Tutorials
  • Freebies
  • Coding
  • Resources

Create Web Designer Depot like link Rollovers

You are here: Home / CSS3 / Create Web Designer Depot like link Rollovers

April 11, 2014 By Akshay Joshi 3 Comments

Create Web Designer Depot like link Rollovers

Namaste (Hello) and welcome to this tutorial. Today we are going to learn about how to create an awesome link effect that you can see on the popular blog called Web Designer Depot. This effect is actually called as Link Rollovers. The Link Rollover uses CSS3 properties such as transform, perspective origin and transition in order to make the links look like a real 3D. In this tutorial we have used one Pseudo element called as :after along with the CSS3 properties. So please be ready to complete this tutorial with your choice of code editor and lets dig in.
 After completing this tutorial you will be able to create this kind of Link Rollover effect in your website or your client’s website for sure. As this tutorial do not make use of any kind of Javascript or jquery you should not worry about the page load time. But you need to worry about the browsers those do not support CSS3. I have checked Link Rollovers on the two major browsers called Mozilla Firefox and Google Chrome and those supports the Code like a charm. Whilst Internet Explorer does partially support the Link Rollovers.

HTML Code goes here

Please write down this below HTML code in your body section and save the file with .html extension.
Orem dhendrerit dd sdd <a href="https://webdesignerpad.com/"><span data-title="Web Designer Pad">Web Designer Pad</span></a> adipiscing elit. In dignissim auctor tempus. Sed hendrerit imperdiet est, a consectetur eros laoreet in. Quisque sed magna pulvinar leo posuere placerat ut et nulla. Lorem ipsum dolor sit amet, consectetur adipiscing elit. <a href="#"><span data-title="Maecenas rhoncus congue">Maecenas rhoncus congue</span></a> hendrerit. Aenean varius vestibulum enim, sit amet fermentum ligula volutpat sed. Phasellus eleifend ante non metus vehicula sit amet aliquet neque vehicula. <a href="#"><span data-title="Mauris porta">Mauris porta</span></a>, augue a accumsan pharetra, enim ante vehicula diam, vitae ullamcorper quam diam eu elit.

CSS Code goes here

So here comes the CSS code that you have to copy and paste in your CSS file or you can just add the below code to your existing HTML page using internal css inside <style>...</style> tags.
a{
color: #03c;
display: inline-block;
overflow: hidden;
vertical-align: top;
-webkit-perspective: 600px;
-moz-perspective: 600px;
-o-perspective: 600px;
-ms-perspective: 600px;
perspective: 600px;
-webkit-perspective-origin: 50% 50%;
-moz-perspective-origin: 50% 50%;
-o-perspective-origin: 50% 50%;
-ms-perspective-origin: 50% 50%;
perspective-origin: 50% 50%;
}

a span{
display: block;
position: relative;
padding: 0 2px;
-webkit-transition: all 400ms ease;
-moz-transition: all 400ms ease;
-o-transition: all 400ms ease;
-ms-transition: all 400ms ease;
transition: all 400ms ease;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-o-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
transform-origin: 50% 0%;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
-ms-transform-style: preserve-3d;
transform-style: preserve-3d;
}

a:hover span {
background: #03c;
-webkit-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
-moz-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
-o-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
-ms-transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
transform: translate3d( 0px, 0px, -30px ) rotateX( 90deg );
}

a span:after {
content: attr(data-title);
display: block;
position: absolute;
left: 0;
top: 0;
padding: 0 2px;
color: #fff;
background: #03c;
-webkit-transform-origin: 50% 0%;
-moz-transform-origin: 50% 0%;
-o-transform-origin: 50% 0%;
-ms-transform-origin: 50% 0%;
transform-origin: 50% 0%;
-webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
-moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
-o-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
-ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
}


So Now I am done with this tutorial and hope you liked it. If you have something on your mind please do comment below and tell us, ask us, or share with us your thoughts.

Filed Under: CSS3, Tutorials, Web Design

Reader Interactions

Comments

  1. John Bocata says

    October 27, 2014 at 4:26 pm

    Amazing read. The websites showcased on starscontest.com are also using this.

    Reply
  2. Emzeth Web Design says

    October 27, 2014 at 4:26 pm

    unfortunately, i can't see the demo or the result from the code above. 🙂

    Reply
  3. Akshay Joshi says

    October 27, 2014 at 5:05 pm

    Oh Did I missed it. I am sorry for the inconvenience caused to you. But I promise I'll be adding demo for my future tutorials.

    Reply

Leave a Reply to John Bocata Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Need Web Hosting?

Bluehost

Drive Insane Traffic To Your Website

Insane_Traffic

Footer

Let’s Connect

  • Email
  • Facebook
  • Twitter

Pages

  • About Us
  • Advertise
  • Contact Us
  • Privacy Policy
  • Write for us

Didn’t Find What You Need?

Stay Updated


Copyright © 2026 All Rights Reserved by Web Designer Pad