Skip to content
HTML.ONE
Home CSS Properties

CSS Width

Sets the preferred width of an element.

Example

width: 100%;

Further reference

MDN CSS reference

Live preview