Home>Article>Web Front-end> css button size settings

css button size settings

藏色散人
藏色散人 Original
2021-04-08 09:47:27 9888browse

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.

css button size settings

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:

      

按钮大小

我们可以使用 font-size 属性来设置按钮大小:

The effect is as follows:

css button size settings

【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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:css change scroll bar style Next article:css change scroll bar style