Jump to content

Fading/ Gradient menu? Example shown...


Recommended Posts

Hey Guys,

 

I am just looking to create the menu shown in the below example. Of course I could just use an image but I would rather just create the image 1px and repeat it, then I was wondering if there was some way of using css to fade the image out from left to right like below?

example_001.gif

Link to comment
https://forums.phpfreaks.com/topic/38973-fading-gradient-menu-example-shown/
Share on other sites

what I want to know is how to fade an image using css which can be done!

 

Solarpitch, I think when you say CSS can fade an image your are referring to adjusting the opacity of an image.  When you use that method it applies the technique to the whole image, not as a gradient like you want.

 

If you are tiling the normal images vertically then you could do the same with the images that need to be displayed during a hover.  Just apply the gradient in Photoshop to a 1px tall image and tile that in your :hover element.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.