CSS Transition Properties

backgroundbackground-colorbackground-imagebackground-positionbackground-sizeborderborder-bottomborder-bottom-colorborder-bottom-left-radiusborder-bottom-right-radiusborder-bottom-widthborder-colorborder-imageborder-image-outsetborder-image-sliceborder-image-sourceborder-image-widthborder-leftborder-left-colorborder-left-widthborder-radiusborder-rightborder-right-colorborder-right-widthborder-spacingborder-topborder-top-colorborder-top-left-radiusborder-top-right-radiusborder-top-widthborder-widthbottombox-shadowclipclip-pathcolorcolumn-countcolumn-gapcolumn-rulecolumn-rule-colorcolumn-rule-widthcolumn-widthcolumnsfilterflexflex-basisflex-growflex-shrinkfontfont-sizegapgridgrid-auto-columnsgrid-column-gapgrid-gapgrid-row-gapgrid-templategrid-template-columnsgrid-template-rowsheightleftletter-spacingline-heightmarginmargin-bottommargin-leftmargin-rightmargin-topmask-imagemask-positionmask-sizemax-heightmax-widthmin-heightmin-widthobject-positionopacityoutlineoutline-coloroutline-offsetoutline-widthpaddingpadding-bottompadding-leftpadding-rightpadding-topperspectiveperspective-originrightrow-gaptext-decorationtext-decoration-colortext-decoration-thicknesstext-indenttext-shadowtoptransformtransform-originvertical-alignwidthword-spacingz-index

CSS border-image-width transition property


with use of the border-image-width property you can create smooth transition between two different border-image-width property values.

Values

This is the value you will use with border-image-width property

ValueDescription
lengthSpecifies the width of the border in absolute or relative units.
numberDefault value 1. Represents multiples of the corresponding border-width
percentageRefers to the size of the border image area: the width of the area for horizontal offsets, the height for vertical offsets
autoSpecifies that the border image width is the intrinsic width, or height, of the corresponding image slice.

Example


One Value

*:hover {
   
border-image-width
 
auto|number
}

Two Values

*:hover {
   
border-image-width
 
auto|number  auto|number
}

Three Values

*:hover {
   
border-image-width
 
auto|number  auto|number  auto|number
}

Four Values

*:hover {
   
border-image-width
 
auto|number  auto|number  auto|number  auto|number
}

References