I am working on a project and I need the background of the checkbox to be yellow and the color of the tick to be white.
<div class="radio-btn">
<input type="checkbox" name="disclaimer" id="rad-1" required="" />
<label for="rad-1">Yes, please!</label>
</div>
This is my HTML and The styling for it is written below
#rad-1 {
height: 20px;
width: 20px;
accent-color: yellow;
}
The background becomes yellow but the color of tick becomes black I have tried "Color: white;" and "background-color:white;" but none of these work and the tick mark stays black.