2, there are many button styles, so writing will make the code untidy and unreadable, so use the style tag.
3 、& ltstyle type="text/css " >& lt/style & gt; The Style sheet style tag represents a style sheet, and all our styles can be written in the tag. This code means that all button labels use this style.
4. Have you released it? Button {0} has been changed to. Ui_button{}, and then the class attribute is added to the button tag, which means that the button tag uses a style named ui _ button.
5. Dynamically modify the style through javascript. In order to prevent users from submitting information repeatedly by clicking the submit button, after the user clicks the submit button, the button is disabled and the font color of the button is set to gray.
6. Other methods to modify styles: obj.style.CSS text = "color: # e1e1e1; Background color: black; ”; CssText can write multiple style attributes.
7. Other methods to modify styles: obj.setattribute ("class ","style2 "); Directly change the class attribute of the button label and point to the style named ui_button instead of style2.
8. Other methods to modify the style: