react.js
<div className='check'>
          <input
          type='checkbox'
          className='checkbox'
          id='termschkbx'
          //  style={{backgroundColor: "#DE1F48", color: "#30333F"}}
          checked={this.state.isChecked}
          // onClick={this.isClicked}
          onChange= {this.isChecked}
          >
          </input>
        
          <span>I agree to Terms & Conditions.<a href="" className='readme'>Read here</a> </span>
 </div>
        
style.css
.checkbox{
top: -2px;
left:-45px;
width: 21px;
height: 21px;
opacity: 1;
display: inline-block;
margin-left:12px;
position: absolute;
}
.checkbox::after{
  background: #DE1F48;
color: #30333F;
}
.checkbox:checked{
background: #DE1F48;
color: #30333F;
}
 .checkbox input[type=checkbox]:checked {
  background: #DE1F48;
  color: #30333F;
  } 
nothing reflects on my checkbox after it is clicked. what can be done? I even tried inline styling. That didn't work as well.
i did research about this, there were a lot of similar questions about this but nothing worked for me. I'm a new coder so excuseme if this is silly
 
     
    