Answers for "button font color"

3

how change button color in html

<!DOCTYPE html>
<html>
 <body>
  <button style="background-color:red; border-color:blue; color:white">Button 
  Text</button>
 </body>
</html>
Posted by: Guest on October-21-2021
1

change button color in html

.button_css
{
	background-color: black;
	color: white;
	width: 150px;
	height: 40px;
}
Posted by: Guest on June-19-2021
0

button bgcolor

from tkinter import *   

tkWindow = Tk()  
tkWindow.geometry('400x150')  
tkWindow.title('PythonExamples.org - Tkinter Example')
  
button = Button(tkWindow, text = 'Submit', bg='#ffffff', activebackground='red')  
button.pack()  
  
tkWindow.mainloop()
Posted by: Guest on May-01-2022

Browse Popular Code Answers by Language