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 8606327
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T03:03:56+00:00 2026-06-12T03:03:56+00:00

There was a great effect I’ve seen back in the day and now I

  • 0

There was a great effect I’ve seen back in the day and now I can’t find anything about it.

The concept is that there is an image with both the normal and onHover appearance combined into one image. On hover the image would shift and show the onHover appearance.

Here’s a visual example:

enter image description here

I’m pretty sure it has this sort of code involved:

<img id="button" src="img.png" width="100" height="50">

onHover:
document.getElementById("button").top = "-50";
  • 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-12T03:03:57+00:00Added an answer on June 12, 2026 at 3:03 am

    CSS:

    #button {
        background-image:url('img.png');
        background-position: 0 0;
    }
    
    #button:hover {
        background-position: 0 -50px;
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I know a great thing about perl is that there's multiple ways of doing
i know nothing about medical records but im sure there's great opportunity in it
WiX is great in that there is no GUI, you just write the installer
Is there any effect in WPF I could Make an image shiny etc.? (I
There are many tutorials that show you how to create an active tab effect
There a lot of different ways a Silverlight application can connect back to it’
I'm wondering if there is an event that can be handled or a method
I know that in Java we can't extend a final class. But is there
I'm using d3.js to show information about network traffic to great effect. At a
Is there any great tutorial out there on how to create rain in GLSL

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.