Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1269599

    Hi,

    I’m trying to get the text and separator color to change upon hover. I’m using the following code but it does not appear to be working

    .homeboxes:hover {
    color: -webkit-linear-gradient(0deg, #52c4ed 0%, #52c4ed 12%, #9b3fff 81%, #9b3fff 100%);
    }

    #1269803

    Hey aridbrown,

    Please try this CSS instead:

    .homeboxes:hover a {
      color: -webkit-linear-gradient(0deg, #52c4ed 0%, #52c4ed 12%, #9b3fff 81%, #9b3fff 100%);
    }
    .homeboxes:hover hr .hr-inner {
      border-color: -webkit-linear-gradient(0deg, #52c4ed 0%, #52c4ed 12%, #9b3fff 81%, #9b3fff 100%);
    }

    Best regards,
    Rikard

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.