Home > Web Front-end > CSS Tutorial > What properties does width have in css?

What properties does width have in css?

青灯夜游
Release: 2020-11-13 14:33:48
Original
4952 people have browsed it

The width-related attributes in css include: width attribute, min-width attribute, max-width attribute, border-width attribute, outline-width attribute, column-rule-width attribute, column-width attribute, etc. .

What properties does width have in css?

width-related attributes in css

  • width attribute : Set the width of the element

  • min-width attribute: Set the minimum width of the element.

  • max-width attribute: Set the maximum width of the element.

  • border-width property: Set the width of the four borders.

  • border-bottom-width property: Set the width of the bottom border.

  • border-left-width property: Set the width of the left border.

  • border-right-width property: Set the width of the right border.

  • border-top-width property: Set the width of the top border.

  • border-image-width attribute: Specifies the width of the image border.

  • outline-width attribute: Set the width of the outline.

  • column-rule-width attribute: Specifies the width of the rules between columns.

  • column-width attribute: Specifies the width of the column.

Recommended tutorial: CSS video tutorial

The above is the detailed content of What properties does width have in css?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template