Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8475805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T17:59:39+00:00 2026-06-10T17:59:39+00:00

On this page, I have an image with a glossy effect in a div

  • 0

On this page, I have an image with a glossy effect in a div below the image.

http://www.joelin.org/home2.html

I basically want to move the glossy effect on top of the image. I tried

1) adding the style directly to the img tag, no effect
2) creating a div around the image, putting the glossy div in it (but the glossy div ended up being below the image)

any other thoughts?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T17:59:41+00:00Added an answer on June 10, 2026 at 5:59 pm

    Is it something like this http://dabblet.com/gist/3610138 that you’re looking to achieve?

    HTML:

    <a href='#' class='img-wrapper'>
        <img src='http://imgsrc.hubblesite.org/hu/db/images/hs-2012-10-a-web.jpg'>
    </a>
    

    CSS:

    .img-wrapper, .img-wrapper img {
        display: inline-block;
        position: relative;
        width: 13em;
        height: 8em;
        border-radius: 1em;
    }
    .img-wrapper:after {
        position: absolute;
        top: 0; right: 0; bottom: 0; left: 0;
        border-radius: 1em;
        box-shadow: inset 0 1em 0 0 rgba(192, 192, 192, .5);
        pointer-events: none; /* so that you can get image from right-click menu
                                    won't work in IE and Opera */
        content: '';
    }
    

    If you don’t need the img tag and you can have the image as a background image, then it gets easier. Just one element:

    <div class='glossy'></div>
    

    and just this CSS:

    .glossy {
        width: 13em;
        height: 8em;
        border-radius: 1em;
        background: linear-gradient(rgba(192, 192, 192, .5) 12.5%, transparent 12.5%),
            radial-gradient(100% 100%, transparent 71%, rgba(192, 192, 192, .5) 71%) 
                no-repeat 0 1em,
            radial-gradient(0% 100%, transparent 71%, rgba(192, 192, 192, .5) 71%) 
                no-repeat 100% 1em,
            url(http://imgsrc.hubblesite.org/hu/db/images/hs-2012-10-a-web.jpg);
        background-size: 1px 100%, 1em 1em, 1em 1em, cover;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using JQuery Accordion. I have this page here: http://www.hauppauge.com/site/support/support_colossus.html#tabs-6 What happens is
On this page: http://www.ubhape2.com/formhelp.html I have 3 file uploads. I have it set now
So I have this page here: http://www.eminentmedia.com/development/powercity/ As you can see when you mouse
I have this page: http://www.thedome.it/cmsms/index.php?page=alla-spina I'd like to send a newsletter to subscribers every
Possible Duplicate: Remove white space below image I have this page HERE . All
i have this image in the background: http://yoursdproperty.com/templates/pjo_joomlaforall/images/bgr.png of this page: http://yoursdproperty.com/index.php?option=com_jumi&fileid=8&Itemid=34 how do
I have this page: http://www.problemio.com on which there are 3 images for POST/DISCUSS/SOLVE and
I have an image on my web page like this: <img src=/Images/content/home.png alt= style=float:
So I have this page that has some basic custom tabs: http://demo.unlockedmanagement.com/users/view/2 * NOTE
I have this page which has three peson searchs on them. Basically it's a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.