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-image-outset animation property


with the border-image-outset property you can animate border image area(extend or reduce border image size in the border box).

Values

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

ValueDescription
lengthSpecifies the distance in absolute or relative units that the border image extends beyond the border box. Negative values are not allowed.
initialSets this property to its default value.

Example


One Value

@keyframes myAnimation {
   from {
      
border-image-outset
 
length
   }
   to {
      
border-image-outset
 
length
   }
}
@keyframes myAnimation {
   0% {
      
border-image-outset
 
length
   }
   100% {
      
border-image-outset
 
length
   }
}

Two Values

@keyframes myAnimation {
   from {
      
border-image-outset
 
length  length
   }
   to {
      
border-image-outset
 
length  length
   }
}
@keyframes myAnimation {
   0% {
      
border-image-outset
 
length  length
   }
   100% {
      
border-image-outset
 
length  length
   }
}

Three Values

@keyframes myAnimation {
   from {
      
border-image-outset
 
length  length  length
   }
   to {
      
border-image-outset
 
length  length  length
   }
}
@keyframes myAnimation {
   0% {
      
border-image-outset
 
length  length  length
   }
   100% {
      
border-image-outset
 
length  length  length
   }
}

Four Values

@keyframes myAnimation {
   from {
      
border-image-outset
 
length  length  length  length
   }
   to {
      
border-image-outset
 
length  length  length  length
   }
}
@keyframes myAnimation {
   0% {
      
border-image-outset
 
length  length  length  length
   }
   100% {
      
border-image-outset
 
length  length  length  length
   }
}

References