How to set the size of css button: first create an HTML sample file; then create a button through the button tag in the body; finally use the "font-size" attribute to set the button size.
The operating environment of this article: Windows7 system, HTML5&&CSS3 version, Dell G3 computer.
You can use the font-size attribute to set the button size:
The code is as follows:
The effect is as follows:
【Recommended learning:css video tutorial】
The above is the detailed content of css button size settings. For more information, please follow other related articles on the PHP Chinese website!