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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T13:48:16+00:00 2026-06-03T13:48:16+00:00

I have styled a checkbox using CSS3 and this is working (by hiding the

  • 0

I have styled a checkbox using CSS3 and this is working (by hiding the checkbox and putting/styling a label over it). Now I have found some CSS3 created icons which I want to use for my checkbox. Since the checkbox is styled using CSS3, I though it would be simple to use the with CSS3 created icons for the checkbox.

Well… I thought it would be easy, but I am unsuccessful doing so.

The CSS3 created icons are sound icons. One with “sound on” and one with “sound off”. Now I want the “sound on” icon to be used when the checkbox is checked, and the “sound off” when it’s unchecked.

Please see my fiddle: http://jsfiddle.net/mauricederegt/TRtvx/

This is what I’ve tried:

Basically input:checked + label:before should have the .volume-on:before style. This worked and I saw the “sound waves” in my button div. Unfortunaly I couldn’t see the rest of the icon anymore (the cone).

Is what I want even possible? And how to accomplish this?

Kind regards,

  • 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-03T13:48:18+00:00Added an answer on June 3, 2026 at 1:48 pm

    You can use CSS Sprites to achieve this – basically you would be showing different parts of a single image, acting as two images. Check out this great tutorial: http://css-tricks.com/css-sprites/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have contact list which contains (checkbox,firstname,lastname,phone). I am creating this list using html
i have a checkBox generated at runtime using a for loop, now i want
I'm trying to create a preferences window. In it I have some checkbox style
Thanks everyone for taking the time to read this. I have styled my navigation
I have a remote form like this and a checkbox in it. When I
I have a custom template checkbox that I am implementing using a viewbox (using
Hi i write simple app using jqm and phonegap, and i have some problem
Using the checkbox styling system here (with a few slight modifications): http://blogs.digitss.com/javascript/jquery-javascript/jquery-fancy-custom-radio-and-checkbox/ I have
Using Swing, what is the best way to indent some components underneath a checkbox
The problem I have is this; I am using an editor template as follows;

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.