Forums

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

Home Forums CSS circle background CTA, custom hover states.

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #263939
    cives
    Participant

    Hi all – please reference the attached screenshots.

    Screen_Shot_2017_12_15_at_12_07_18_PM
    Screen_Shot_2017_12_15_at_12_07_07_PM

    In a nutshell, I am trying to achieve a CTA with a circle border, and on hover an offset fill. This was originally achieved with:

    display: inline-block;
    line-height: 100px;
    text-decoration: none;
    background-image: radial-gradient(circle, transparent 0%, #fecb4f 50%, transparent 0%);
    background-position: 50% 60%;
    background-size: 95px 95px;
    background-repeat: no-repeat;
    opacity: .6;
    font-size: 1.5em;
    z-index:100 !important;
    color:#fecb4f !important;

    This solution was great, but limits what hover states you can use… Any other suggestions?

    Thanks!

    #263949
    Paulie_D
    Member
    #263982
    cives
    Participant

    That looks great! Thanks!

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