How can I make colourful button using HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can I make colourful button using HTML?

I'm thinking about multiple colour button. Usually an HTML button's background colour is gray or off-white and writings on button is black. But I want to make a button with blue background colour and yellow font colour. Background colour of the running HTML page also cannot affect on button's color. If anyone have any idea, please share with me.

7th Aug 2020, 8:05 PM
Anamika
Anamika - avatar
1 Answer
+ 2
Try using gradients for the button color and a sharper color for the text...
7th Aug 2020, 8:33 PM
Fatunmbi Teniola