Skip to main content

MinWidth

Typeobject
Backlinks1

This property is used to set the minimum width of an element and is only available when the size type is fixed or relative. By setting the min-width property of an element, you can specify the minimum width in the horizontal direction, ensuring that the element does not shrink below this width. This is useful for ensuring that content has adequate visual space.

PropertyTypeRequired
classstringRequired
valueLengthRequired

class​

Required

Type

string

Value

constant: the value of this property must be equal to:

"minWidth"

value​

Required

Description

Available types include only fixed and relative.

Type

Length