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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T20:38:34+00:00 2026-06-15T20:38:34+00:00

When using the WebGL renderer from Three.js, radio buttons gain white backgrounds. It appears

  • 0

When using the WebGL renderer from Three.js, radio buttons gain white backgrounds. It appears to only occur in Chrome.

Here’s a fiddle showing the problem: http://jsfiddle.net/5pL8v/328/

Is there any, and if so preferably CSS, fix to this?

Example code:

<style>
body {
    background: black;
}
</style>

<script>
renderer = new THREE.WebGLRenderer();
$(document).ready(function() {
    $("body").append(renderer.domElement);
});
</script>

<input type="radio">
  • 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-15T20:38:35+00:00Added an answer on June 15, 2026 at 8:38 pm

    I was not able to see the problem OSX / Chrome beta. However, it is probably related to the rendering of widgets in native style by default and your operating system version. You can disable this in WebKit browsers using -webkit-appearance: none.

    Example how to replace radio button with a green square:

    body {
        background: black;
        color: white;
    }
    
    input[type=radio] {
        background: green;
        color: yellow;
        -webkit-appearance: none;
        width: 10px;
        height: 10px;
    }
    
    input[type=radio]:checked {
        background: red;
    }
    

    I suggest you style radio buttons in platform-neutral way if they break on you. Here is one tutorial: http://www.wufoo.com/2011/06/13/custom-radio-buttons-and-checkboxes/

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

Sidebar

Related Questions

I'm using Three.js to draw 3D models onto a webgl canvas renderer above simple
I'm using Three.js with the WebGL renderer to make a game which fullscreens when
Three.js is commonly used with WebGL, but I am interested in using its CanvasRenderer,
Environment: WebGL, Chrome. I have the following behavior when using transparent png's as textures
I'm making a breakout game in 3D using THREE.js and the WebGL render. I
I would like to render an animated voxel scene using WebGL and Three.js, for
I made a scene using the webgl renderer where I put multiple 3D objects
I'm using WebGL globe from http://workshop.chromeexperiments.com/globe/ . If any point of the globe is
I have developed a WebGL bike configurator demo using Three.js. Given the fact that
How to detect collision in webgl, without using any library like three.js?

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.