Hosting Solutions
mobile_logo Table of Contents

animation name

The CSS animation-name property specifies the @keyframe animations that are applied to specific elements. An element can have one or more animations applied to it simultaneously, which allows you to animate CSS properties at separate speeds and cycles. The other CSS animation properties can have corresponding comma separated values designated to affect specific animations in your comma separated animation name list. The second code example below demonstrate applying multiple @keyframe animations to elements.
CSS Syntaxanimation-name: box-move;
JavaScript = "box-move";


none - keyword that specifies that no animations are assigned. name_list - specify one or more @keyframe names separated by commas.
Initial value: none Animatable: no see animatable properties CSS level: 3 Web standard: not yet what's this?

CSS Code Example

<style> div#box1 { animation-name: box-move; animation-duration: 2s; animation-iteration-count: 1; animation-fill-mode: forwards; background: #D3F7FE; border: #000 1px solid; width: 100px; height: 100px; position: relative; left: 0px; top: 0px; } @keyframes box-move { from { left: 0px; } to { left: 25%; } } </style> <div id="box1">BOX 1</div> This example shows how to assign multiple keyframe animations on an element: <style> div#box1 { animation-name: box-move, box-size; animation-duration: 3s, 2s; animation-iteration-count: 1, 3; animation-fill-mode: forwards; background: #D3F7FE; border: #000 1px solid; width: 100px; height: 100px; position: relative; left: 0px; top: 0px; } @keyframes box-move { from { left: 0px; } to { left: 25%; } } @keyframes box-size { 0% { width: 100px; } 50% { width: 150px; } 100% { width: 100px; } } </style> <div id="box1">BOX 1</div>


Animations Module

Official Documentation



align contentalign itemsalign selfalignment adjustalignment baselineallanimationanimation delayanimation directionanimation durationanimation fill modeanimation iteration countanimation nameanimation play stateanimation timing functionazimuthbackface visibilitybackgroundbackground attachmentbackground blend modebackground clipbackground colorbackground imagebackground originbackground positionbackground repeatbackground sizebaseline shiftbookmark labelbookmark levelbookmark stateborderborder bottomborder bottom colorborder bottom left radiusborder bottom right radiusborder bottom styleborder bottom widthborder collapseborder colorborder imageborder image outsetborder image repeatborder image sliceborder image sourceborder image widthborder leftborder left colorborder left styleborder left widthborder radiusborder rightborder right colorborder right styleborder right widthborder spacingborder styleborder topborder top colorborder top left radiusborder top right radiusborder top styleborder top widthborder widthbottombox decoration breakbox shadowbox sizingbox snapbox suppressbreak afterbreak beforebreak insidecaption sidecaret colorchainsclearclipclip pathclip rulecolorcolor interpolation filterscolumn countcolumn fillcolumn gapcolumn rulecolumn rule colorcolumn rule stylecolumn rule widthcolumn spancolumn widthcolumnscontentcounter incrementcounter resetcounter setcropcuecue aftercue beforecursordirectiondisplaydisplay insidedisplay listdisplay outsidedominant baselinedrop initial after adjustdrop initial after aligndrop initial before adjustdrop initial before aligndrop initial sizedrop initial valueelevationempty cellsfilterflexflex basisflex directionflex flowflex growflex shrinkflex wrapfloatflood colorflood opacityflow fromflow intofontfont familyfont feature settingsfont kerningfont language overridefont sizefont size adjustfont stretchfont stylefont synthesisfont variantfont variant alternatesfont variant capsfont variant east asianfont variant ligaturesfont variant numericfont variant positionfont weightfootnote displayfootnote policygridgrid areagrid auto columnsgrid auto flowgrid auto rowsgrid columngrid column endgrid column startgrid rowgrid row endgrid row startgrid templategrid template areasgrid template columnsgrid template rowshanging punctuationheighthyphensimage orientationimage resolutioninitial letterinitial letter aligninline box alignisolationjustify contentjustify itemsjustify selfleftletter spacinglighting colorline breakline gridline heightline snapline stackingline stacking rubyline stacking shiftline stacking strategylist stylelist style imagelist style positionlist style typemarginmargin bottommargin leftmargin rightmargin topmarker sidemarquee directionmarquee loopmarquee speedmarquee stylemaskmask bordermask border modemask border outsetmask border repeatmask border slicemask border sourcemask border widthmask clipmask compositemask imagemask modemask originmask positionmask repeatmask sizemask typemax heightmax linesmax widthmax zoommin heightmin widthmin zoommix blend modemove tonav downnav leftnav rightnav upobject fitobject positionoffset afteroffset beforeoffset endoffset startopacityorderorientationorphansoutlineoutline coloroutline offsetoutline styleoutline widthoverflowoverflow styleoverflow wrapoverflow xoverflow ypaddingpadding bottompadding leftpadding rightpadding toppagepage break afterpage break beforepage break insidepage policypausepause afterpause beforeperspectiveperspective originpitchpitch rangeplay duringpositionpresentation levelquotesregion fragmentresizeresolutionrestrest afterrest beforerichnessrightrotationrotation pointruby alignruby mergeruby positionrunningshape image thresholdshape marginshape outsidesizespeakspeak asspeak headerspeak numeralspeak punctuationspeech ratestressstring settab sizetable layouttext aligntext align lasttext combine uprighttext decorationtext decoration colortext decoration linetext decoration skiptext decoration styletext emphasistext emphasis colortext emphasis positiontext emphasis styletext heighttext indenttext justifytext orientationtext overflowtext shadowtext transformtext underline positiontoptransformtransform origintransform styletransitiontransition delaytransition durationtransition propertytransition timing functionunicode bidiuser zoomvertical alignvisibilityvoice balancevoice durationvoice familyvoice pitchvoice rangevoice ratevoice stressvoice volumevolumewhite spacewidowswidthwill changeword breakword spacingword wrapwrap flowwrap throughwriting modez indexzoom