CSS Animation 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-bottom-width animation property


with the border-bottom-width property you can animate bottom border width.

Values

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

ValueDescription
mediumA medium border.
thinA thin border.
thickA thick border.
lengthA length value in px, pt, cm, em, etc. Negative values are not allowed.

Example


@keyframes myAnimation {
   from {
      
border-bottom-width
 
medium | thin | thick | length
   }
   to {
      
border-bottom-width
 
medium | thin | thick | length
   }
}
@keyframes myAnimation {
   0% {
      
border-bottom-width
 
medium | thin | thick | length
   }
   100% {
      
border-bottom-width
 
medium | thin | thick | length
   }
}

References