• My problem is now that ive added a background image to the site the three featured items are a bit messed up. When the background was white, the white boxes for featured items were great because the thumbnail images where all that was visible, and when you hovered more would appear. But now w/ a background image that is no longer the case. please help?

    Page URL blackbettyracingcrew.com
    Here is all of the custom CSS im using right now:

    body {
      background: url("http://www.lapedreranaturalstones.com/tiles/images/fantasy_white_hd.jpg") no-repeat center center fixed;
      -webkit-background-size: cover;
      -moz-background-size: cover;
      -o-background-size: cover;
      background-size: cover;
    }
    
    .round-div {
      display: block;
      -webkit-transition: all 0.3s ease;
      -moz-transition: all 0.3s ease;
      -o-transition: all 0.3s ease;
      transition: all 0.3s ease;
      position: absolute;
      width: 170px;
      height: 170px;
      z-index: 99;
      -webkit-border-radius: 60px;
      -moz-border-radius: 500px;
      border-radius: 900px;
      border: 104px solid #646464;
      border-image: #FAFAFA;
      opacity: 0.1;
      filter: alpha(opacity=10);
      top: -66px;
      left: -54px;
    }
Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter bramily

    (@bramily)

    to clarify, what id like to do is make the round-div invisible, the way it appeared when the background was all white, and only the center part that expanded on hover is visible at all.

    Can’t be done, I’m afraid. The only reason that the circles work is that they are a solid border, masking the image. Once you make them transparent, they no longer mask the image.

    Love your tagline 🙂

    Thread Starter bramily

    (@bramily)

    Can I use an image instead of a solid color? if I could make that box masking the image our logo, that then opens up to reveal the image inside… that would work right?

    You’d have the same issue: the image would need to be non-transparent. You could use the same pattern as your background, but you’d be able to see the joins at the edges.

    Thread Starter bramily

    (@bramily)

    im ok with non transparent, and id be after a different picture, of one of our logos. how would i set that up?

    Ah. I thought you already had how to do it in mind!

    This gives the basics, I think. But I’ve never tried it: http://www.hongkiat.com/blog/css-masking/

    Let us know how you get on.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘.round-div problem’ is closed to new replies.