I am trying to create a specific effect for a logo, but I dont really have an idea how this is going to work.
Here is a sketch I did in photoshop:
http://s28.postimg.org/nrb3k6grh/effect.gif
So my idea is – I have 2 divs on top of one another, one containing a graphic and under it, one containing a word. So I want to make the top div dissapear on hover and when the bottom one is shown I want to lift the “ord” part of “word” (for example) up a bit using a or something.. How can I achieve this?
I am not sure about the two divs part though. If there is a better way of doing this, please share.
Thanks!
3
Answers
Check if this works for you
HTML
CSS
I’ve used two div in this Demo. Have a look at the DEMO.
CSS Code is
HTML Code is
Using CSS to create a word portion lift
Using these code lines you can use lift function on anywhere you want to use in your HTML