If you want a button that changes color upon a status change:
button{ background-color: red; &::after{ content: " disconnected"; } }
.active{ background-color: green; &::after{ content: " connected"; } }
Try other keywords in your search
0 Minutes
0 Likes
201 Views
If you want a button that changes color upon a status change:
button{ background-color: red; &::after{ content: " disconnected"; } }
.active{ background-color: green; &::after{ content: " connected"; } }