Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change color of the checkbox outline #99

Open
maxovina opened this issue Apr 2, 2024 · 0 comments
Open

How to change color of the checkbox outline #99

maxovina opened this issue Apr 2, 2024 · 0 comments

Comments

@maxovina
Copy link

maxovina commented Apr 2, 2024

Hello, im new to this stuff and got stuck at changing the color of the outline, I tried this :
.pretty .state label::after { border : #000 solid 2px; }

This works, but there is still white border under it. Also when i tried to change it dynamically with javascript i couldnt even target that.
const element = document.querySelector('.pretty .state label::after'); if(todoInstance.priority == '1'){ element.style.border = '2px solid #0275d8'; }else if(todoInstance.priority == '2'){ element.style.border = '2px solid #f0ad4e'; }else { element.style.border = '2px solid #d9534f'; }

Can anyone help me please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant