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

  • Home
  • SEARCH
  • 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 7763065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T14:34:17+00:00 2026-06-01T14:34:17+00:00

I am working on a project that utilizes a circular div laying over images

  • 0

I am working on a project that utilizes a circular div laying over images to create a sort of looking glass effect, where you can drag an image around within the circular div.

The markup for the app is as follows:

<div id="LookingGlass" class="looking-glass" style="margin:0 auto;">
    <div class="looking-glass-images">
        <img src="/wp-content/uploads/2011/11/CCDS_Ext_008a-copy.jpg" width="1250" height="980" />
        <img src="wp-content/uploads/2011/11/CCDS_Ext_011.jpg" width="967" height="1250" />
        <img src="wp-content/uploads/2011/11/CCDS_Ext_012.jpg" width="1250" height="962" />
        <img src="wp-content/uploads/2011/11/CCDS_Int_005.jpg" width="912" height="1250" />
        <img src="wp-content/uploads/2011/11/CCDS_Int_008.jpg" width="1250" height="833" />
    </div>
    <ul class="looking-glass-nav"></ul>
</div>

jQuery autopopulates the nav object with numbers that fade out the current images and fade in whichever is clicked.

Here is the Sass code for the object as well

@mixin border-radius($size)
    border-radius: $size
    -webkit-border-radius: $size
    -moz-border-radius: $size

.looking-glass
    display: block
    height: 100%

    .looking-glass-nav
        li
            display: inline
            padding: 5px

    .looking-glass-images
        overflow: hidden
        display: block
        height: 500px
        width: 500px
        @include border-radius(50%)

        img
            -webkit-user-select: none
            -moz-user-select: none
            user-select: none
        img.active
            display: block
        img.inactive
            display: none

When I impose the draggable effect on the images they are given a relative position style and for some reason that stops the div containing the images from being roundable. Is this a bug in Chrome or is there something I am doing wrong here?

  • 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-01T14:34:18+00:00Added an answer on June 1, 2026 at 2:34 pm

    May this can help you
    The right way to write vendor prefixes is to put nonvendor property name on the last position, like this way:

    -webkit-property: value;
       -moz-property: value;
        -ms-property: value;
         -o-property: value;
            property: value;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm currently working on a project that utilizes a proprietary PCMCIA radio card to
I am working on a project that utilizes .Net API (several .Net DLLs) provided
I'm working on a project that utilizes the USB Host capabilities in Android 3.2.
I'm working on a java project that utilizes XML files in Eclipse; however, I
I am currently working on a project that utilizes the jfreechart library. I am
I am working on an Android project with a few others that utilizes the
I'm working on a Rails project that utilizes Action Mailer to send out mail
Im working on a very simple project in java that utilizes the Swing component
I'm working on a project with a friend that will utilize Hbase to store
I am working a project that does not have a trunk / branches /

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.