Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder Mooseman's Avatar
    Join Date
    Sep 2010
    Posts
    123
    Thanks
    7
    Thanked 3 Times in 3 Posts

    CSS box-shadow inset appears under images

    Hello,
    I am using box-shadow: inset 2px 2px 2px 2px white; on an auto-scrolling div with images inside. How do I keep the inset shadow from showing under the images without layering?

    Thank you,
    Mooseman

  • #2
    Regular Coder
    Join Date
    Jul 2011
    Location
    India
    Posts
    496
    Thanks
    3
    Thanked 57 Times in 56 Posts
    Quote Originally Posted by Mooseman View Post
    Hello,
    I am using box-shadow: inset 2px 2px 2px 2px white; on an auto-scrolling div with images inside. How do I keep the inset shadow from showing under the images without layering?

    Thank you,
    Mooseman

    Share image of what you want for better understanding

  • #3
    Regular Coder Mooseman's Avatar
    Join Date
    Sep 2010
    Posts
    123
    Thanks
    7
    Thanked 3 Times in 3 Posts
    I just have 8 200x200 images. Here is the current CSS on them:
    Code:
    opacity: 0.0;
        display: block;
        margin: 0 auto;
        width: 450px;
        height: 150px;
        margin-bottom: 10px;
        -webkit-border-bottom-right-radius: 10px;
        -webkit-border-bottom-left-radius: 10px;
        -moz-border-radius-bottomright: 10px;
        -moz-border-radius-bottomleft: 10px;
        border-bottom-right-radius: 10px;
        border-bottom-left-radius: 10px;
    They are wrapped in a div (The one I am trying to add box-shadow: inset 2px 2px 2px 2px white; to)
    Code:
        overflow: hidden;
        width: 0px; // Opened to 800px with jQuery on ready, then scrolled to see the 1700px of images
        height: 200px;
        float: left
    Last edited by Mooseman; 08-02-2011 at 01:03 PM.

  • #4
    Regular Coder Mooseman's Avatar
    Join Date
    Sep 2010
    Posts
    123
    Thanks
    7
    Thanked 3 Times in 3 Posts
    Anybody?

  • #5
    Regular Coder Mooseman's Avatar
    Join Date
    Sep 2010
    Posts
    123
    Thanks
    7
    Thanked 3 Times in 3 Posts
    bump.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •