Button color | SoloLearn: Learn to code for FREE!

0

Button color

How to color the button

9/18/2020 8:35:01 PM

Azael Batista

1 Answer

New Answer

+2

Like every other html-element. You should target your element in your css-code by selector (is tag, classname, id etc.) and assign properties to it. Code below assign red color to background-color property on all buttons in document: button { background-color: red }