Answers for "how to put values downside radio button"

0

css radio button size

// How to change the size of the radio button using CSS
// add this code to HTML file, change height and width in style

<input type="radio" name="radio" value="value" style="height:50px; width:50px; vertical-align: middle;">
Posted by: Guest on January-02-2022
2

how to change color of a radio button

input[type='radio']:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #d1d3d1;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }

    input[type='radio']:checked:after {
        width: 15px;
        height: 15px;
        border-radius: 15px;
        top: -2px;
        left: -1px;
        position: relative;
        background-color: #ffa500;
        content: '';
        display: inline-block;
        visibility: visible;
        border: 2px solid white;
    }
Posted by: Guest on December-03-2020

Code answers related to "how to put values downside radio button"

Browse Popular Code Answers by Language