Day # 47: Icon hover



I was recently going through some cool UX effects and I found this one in which you hover an icon and then a title shows up. The div containing that title expanded, and I just thought the effect was awesome.

I kept that idea and then I tried to copy it, which is what today’s website is all about. The key here is first to expand the div that contains the icon, which we can do by just increasing the width:


ul li:hover {

    width: 180px;

}


And then, to make the title appear when you hover the icon, you just need to set the transform property to scale(1)


ul li:hover .title {

    transform: scale(1)

}


Comments

Popular posts from this blog

Day # 35: Flip Book

Day # 1: Homepage w/Introduction

Day # 8: Inspiration