The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Gradient triangle

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #41973

    I am using CSS to create a triangle on hover for menus in my sidebar. The challenge I have is that I am using a gradient on the button themselves and I can’t find a way to put a gradient on the triangle.

    Is this even is possible?

    [Live example page]( “Example Page”)

    Thanks for your help!


    you can use a background gradient like this


    I don’t have the luxury of being able to put a separate div in the menu, because it is a widget that WordPress is generating a ul for. I am trying to apply it to the li on hover.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.