Search completed in 1.45 seconds.
130 results for "Transitions":
Your results are loading. Please wait...
Using CSS transitions - CSS: Cascading Style Sheets
css transitions provide a way to control animation speed when changing css properties.
...with css transitions enabled, changes occur at time intervals that follow an acceleration curve, all of which can be customized.
... animations that involve transitioning between two states are often called implicit transitions as the states in between the start and final states are implicitly defined by the browser.
...And 15 more matches
Document: transitionstart event - Web APIs
the transitionstart event is fired when a css transition has actually started, i.e., after any transition-delay has ended.
... the difference is transitionstart and transitionrun is that transitionrun fires when the transition is created (i.e.
... at the start of any delay) and transitionstart fires when the actual animation has begun (i.e.
...And 4 more matches
HTMLElement: transitionstart event - Web APIs
the transitionstart event is fired when a css transition has actually started, i.e., after any transition-delay has ended.
... bubbles yes cancelable no interface transitionevent event handler property ontransitionstart examples this code adds a listener to the transitionstart event: element.addeventlistener('transitionstart', () => { console.log('started transitioning'); }); the same, but using the ontransitionstart property instead of addeventlistener(): element.ontransitionrun = () => { console.log('started transitioning'); }; live example in the following example, we have a simple <div> element, styled with a transition that includes a delay: <div class="transition">hover over me</div> <div class="message"></div> .transition { width: 100px; height: 100px; background: rgba(255,0,0,1); transition-property: transform, background; transition-durat...
...ion: 2s; transition-delay: 1s; } .transition:hover { transform: rotate(90deg); background: rgba(255,0,0,0); } to this, we'll add some javascript to indicate where the transitionstart and transitionrun events fire.
...And 3 more matches
Window: transitionstart event - Web APIs
the transitionstart event is fired when a css transition has actually started, i.e., after any transition-delay has ended.
... bubbles yes cancelable no interface transitionevent event handler property globaleventhandlers.ontransitionstart the original target for this event is the element that had the transition applied.
...for full details on this event please see the page on htmlelement: transitionstart.
...And 2 more matches
CSS Transitions - CSS: Cascading Style Sheets
css transitions is a module of css that lets you create gradual transitions between the values of specific css properties.
... the behavior of these transitions can be controlled by specifying their timing function, duration, and other attributes.
... reference properties transition transition-delay transition-duration transition-property transition-timing-function guides using css transitions step-by-step tutorial about how to create transitions using css.
... specifications specification status comment css transitions working draft initial definition.
Animation inspector example: CSS transitions - Firefox Developer Tools
firefox-logo-animation example animation using css transitions.
Index - Web APIs
WebAPIIndex
82 animationeffect api, animation, experimental, interface, reference, web animations, web animations api the animationeffect interface of the web animations api defines current and future animation effects like keyframeeffect, which can be passed to animation objects for playing, and keyframeeffectreadonly (which is used by css animations and transitions).
...this class was allegedly part of css transitions module level 3 at some point, but is not present in the current working draft.
... 917 document.getanimations() api, animation, css, css animations, css transitions, document, experimental, method, reference, transitions, web animations, getanimations, waapi, web animations api the getanimations() method of the document interface returns an array of all animation objects currently in effect whose target elements are descendants of the document.
...And 22 more matches
CSS and JavaScript animation performance - Web Performance
there are many ways to implement web animations, such as css transitions/animations or javascript-based animations (using requestanimationframe()).
... css transitions and animations both css transitions and animations can be used to write animation.
... they each have their own user scenarios: css transitions provide an easy way to make animations occur between the current style and an end css state, e.g., a resting button state and a hover state.
...And 7 more matches
Working with Svelte stores - Learn web development
bonus track: transitions let's change the subject now, and do something fun and different — let's add an animation to our alerts.
... svelte provides a whole module to define transitions and animations so we can make our user interfaces more appealing.
... put the following import statement below the existing ones: import { fly } from 'svelte/transition' to use it, update your opening <div> tag like so: <div role="alert" on:click={() => visible = false} transition:fly > transitions can also receive parameters, like this: <div role="alert" on:click={() => visible = false} transition:fly="{{delay: 250, duration: 300, x: 0, y: -100, opacity: 0.5}}" > note: the double curly braces are not special svelte syntax.
...And 3 more matches
nsINavHistoryQuery
this is important because, if the user has their profile on a networked drive, query latency can be non-negligible method overview nsinavhistoryquery clone(); void getfolders([optional ]out unsigned long count, [retval,array,size_is(count)] out long long folders); void gettransitions([optional] out unsigned long count, [retval,array,size_is(count)] out unsigned long transitions); void setfolders([const,array, size_is(foldercount)] in long long folders, in unsigned long foldercount); void settransitions([const,array, size_is(count)] in unsigned long transitions, in unsigned long count); attributes attribute type description absolutebegintime prtime read only: retr...
...gettransitions() get the transitions set for this query.
... void gettransitions( out unsigned long count, optional [retval,array,size_is(count)] out unsigned long transitions ); parameters count optional the number of transitions transitions missing description settransitions() when the set of transitions is nonempty, results are limited to pages which have at least one visit for each of the transition types.
...And 2 more matches
HTMLElement: transitionrun event - Web APIs
a delay: <div class="transition">hover over me</div> <div class="message"></div> .transition { width: 100px; height: 100px; background: rgba(255,0,0,1); transition-property: transform, background; transition-duration: 2s; transition-delay: 1s; } .transition:hover { transform: rotate(90deg); background: rgba(255,0,0,0); } to this, we'll add some javascript to indicate where the transitionstart and transitionrun events fire.
... const el = document.queryselector('.transition'); const message = document.queryselector('.message'); el.addeventlistener('transitionrun', function() { message.textcontent = 'transitionrun fired'; }); el.addeventlistener('transitionstart', function() { message.textcontent = 'transitionstart fired'; }); el.addeventlistener('transitionend', function() { message.textcontent = 'transitionend fired'; }); the difference is that: transitionrun fires when the transition is created (i.e.
... transitionstart fires when the actual animation has begun (i.e.
...And 2 more matches
Using CSS gradients - CSS: Cascading Style Sheets
the colors produced by css gradients can vary continuously with position, producing smooth color transitions.
... it is also possible to create bands of solid colors, and hard transitions between two colors.
...in this example, the colors share a color stop at the 50% mark, halfway through the gradient: <div class="striped"></div> div { width: 120px; height: 120px; } .striped { background: linear-gradient(to bottom left, cyan 50%, palegoldenrod 50%); } gradient hints by default, the gradient transitions evenly from one color to the next.
...And 2 more matches
Performance fundamentals - Web Performance
transitions and animations are particularly important to applications: developers can use css to declare complicated behaviour with a simple, high-level syntax.
... many applications use transitions or animations through "pages", or "panels".
...firefox is highly optimized to transition and animate scenes that: use pages/panels approximately the size of the device screen or smaller transition/animate the css transform and opacity properties transitions and animations that adhere to these guidelines can be offloaded to the system compositor and run maximally efficiently.
...And 2 more matches
-ms-filter - Archive of obsolete content
syntax the -ms-filter property is specified as a string that contains a list of one or more items, separated by spaces, of the following types: filters transitions procedural surfaces formal syntax filter: <-ms-filter-function>+ -ms-filter: [ "'" <-ms-filter-function># "'" ] | [ '"' <-ms-filter-function># '"' ] where <-ms-filter-function> = <-ms-filter-function-progid> | <-ms-filter-function-legacy> where <-ms-filter-function-progid> = 'progid:' [ <ident-token> '.' ]* [ <ident-token> | <function-token> <any-value> ')' ] <-ms-filter-function-legacy> = ...
...<ident-token> | <function-token> <any-value> ')' the <string> contains the list of filters, transitions, and procedural surfaces.
... refer to the filters and transitions reference for details.
...for more information about filters, see introduction to filters and transitions.
Efficient animation for web games - Game development
we touch on css transitions and css animations, and javascript loops involving window.requestanimationframe.
... help the browser help you if you are using dom for your ui, which i would certainly recommend, you really ought to use css transitions and/or css animations, rather than javascript-powered animations.
...the reason for this is that css transitions/animations are much higher level than javascript, and express a very specific intent.
...puzzowl uses it to drive all the drawing updates and transitions, by overriding its requestanimationframe function with a custom version that makes the request, and appending the game’s drawing function onto the end of the callback like so: animator.requestanimationframe = function(callback) { requestanimationframe(function(t) { callback(t); redraw(); }); }; the game’s redraw function does all drawing, and the animation callbacks ju...
Tracing JIT
the transitions between these states are somewhat complex and delicate, but the overall picture is simple: monitoring the trace monitor's initial state is monitoring.
...if it finds such a fragment, it transitions to executing mode.
... otherwise it transitions to recording mode.
...all transitions out of recording mode eventually involve returning to monitoring mode: if the recorder is asked to record a bytecode that it cannot, for various low-level reasons, faithfully record, the recorder may choose to abort the recording.
Document - Web APIs
WebAPIDocument
globaleventhandlers.ontransitionstart an eventhandler called when a transitionstart event is sent, indicating that a css transition has started transitioning.
... fullscreen events fullscreenchange fired when the document transitions into or out of full-screen mode.
... transitionstart fired when a css transition has actually started.
... also available via the ontransitionstart property.
RTCPeerConnection: iceconnectionstatechange event - Web APIs
if ice restart is initiated while in the transient disconnected state, the state transitions instead to checking, essentially indicating that the negotiation is ignoring the fact that the connection had been temporarily lost.
... state transitions as negotiation ends when the negotiation process runs out of candidates to check, the ice connection transitions to one of two states.
... if no suitable candidates were found, the state transitions to failed.
... if at least one suitable candidate was successfully identified, the state transitions to completed.
conic-gradient() - CSS: Cascading Style Sheets
the conic-gradient() css function creates an image consisting of a gradient with color transitions rotated around a center point (rather than radiating from the center).
...the transitions between colors can be altered with color hints between adjacent colors' color stops.
...the following is solid red from the start to the 10% mark, transitions from red to blue over 80% of the turn, with the final 10% being solid blue.
...the following changes from red to yellow at the 30% mark, and then transitions from yellow to blue over 35% of the gradient conic-gradient(red .8rad, yellow .6rad, blue 1.3rad); there are other effects you can create with conic gradients.
transition - CSS: Cascading Style Sheets
transitions enable you to define the transition between two states of an element.
...in-out; /* property name | duration | timing function | delay */ transition: margin-right 4s ease-in-out 1s; /* apply to 2 properties */ transition: margin-right 4s, color 1s; /* apply to all changed properties */ transition: all 0.5s ease-out; /* global values */ transition: inherit; transition: initial; transition: unset; the transition property is specified as one or more single-property transitions, separated by commas.
... href="/docs/css/value_definition_syntax#brackets" title="brackets: enclose several entities, combinators, and multipliers to transform them as a single component">[0,1]>, <number>)<step-timing-function> = step-start | step-end | steps(<integer>[, <step-position>]?)where <step-position> = jump-start | jump-end | jump-none | jump-both | start | end examples there are several more examples of css transitions included in the using css transitions article.
... specifications specification status comment css transitionsthe definition of 'transition' in that specification.
HTMLElement: transitioncancel event - Web APIs
that includes a delay: <div class="transition"></div> <div class="message"></div> .transition { width: 100px; height: 100px; background: rgba(255,0,0,1); transition-property: transform background; transition-duration: 2s; transition-delay: 2s; } .transition:hover { transform: rotate(90deg); background: rgba(255,0,0,0); } to this, we'll add some javascript to indicate that the transitionstart, transitionrun, transitioncancel and transitionend events fire.
... const message = document.queryselector('.message'); const el = document.queryselector('.transition'); el.addeventlistener('transitionrun', function() { message.textcontent = 'transitionrun fired'; }); el.addeventlistener('transitionstart', function() { message.textcontent = 'transitionstart fired'; }); el.addeventlistener('transitioncancel', function() { message.textcontent = 'transitioncancel fired'; }); el.addeventlistener('transitionend', function() { message.textcontent = 'transitionend fired'; }); the transitioncancel event is fired if the transition is cancelled in either direction after the transitionrun ev...
... specifications specification status comment css transitionsthe definition of 'transitioncancel' in that specification.
HTMLElement: transitionend event - Web APIs
s a delay: <div class="transition">hover over me</div> <div class="message"></div> .transition { width: 100px; height: 100px; background: rgba(255,0,0,1); transition-property: transform background; transition-duration: 2s; transition-delay: 1s; } .transition:hover { transform: rotate(90deg); background: rgba(255,0,0,0); } to this, we'll add some javascript to indicate that the transitionstart, transitionrun, transitioncancel and transitionend events fire.
... const message = document.queryselector('.message'); const el = document.queryselector('.transition'); el.addeventlistener('transitionrun', function() { message.textcontent = 'transitionrun fired'; }); el.addeventlistener('transitionstart', function() { message.textcontent = 'transitionstart fired'; }); el.addeventlistener('transitioncancel', function() { message.textcontent = 'transitioncancel fired'; }); el.addeventlistener('transitionend', function() { message.textcontent = 'transitionend fired'; }); the transitionend event is fired in both directions: when the box finishes turning and the opacity hits 0 or 1, d...
... specifications specification status comment css transitionsthe definition of 'transitionend' in that specification.
TransitionEvent - Web APIs
the transitionevent interface represents events providing information related to transitions.
... transitionrun an event fired when a css transition is created, when it is added to a set of running transitions, though not nessarilty started transitionstart an event fired when a css transition has started transitioning.
... specifications specification status comment css transitionsthe definition of 'transitionevent' in that specification.
-webkit-transition - CSS: Cascading Style Sheets
the -webkit-transition boolean css media feature is a chrome extension whose value is true if the browsing context supports css transitions.
... syntax @media (-webkit-transition) { /* css to use if transitions are supported */ } examples use @supports instead do not use the -webkit-transition media feature.
... instead, test for transition support using the css @supports at-rule, like this: @supports (transition: initial) { /* css to use if transitions are supported */ } obsolete example before this became obsolete, you could use -webkit-transition in your css like this: @media (-webkit-transition) { /* css to use if transitions are supported */ } specifications not part of any standard.
Web video codec guide - Web media technologies
instead of smooth transitions through the various colors in a region, the image becomes blocky, with blobs of color that approximate the original appearance of the image.
...as a result, the video's contents show a "layered" look, where instead of smooth gradients and transitions, the transitions from color to color are abrupt, causing strips of color to appear.
... mosquito noise mosquito noise is a temporal artifact which presents as noise or edge busyness that appears as a flickering haziness or shimmering that roughly follows outside the edges of objects with hard edges or sharp transitions between foreground objects and the background.
CSS3 - Archive of obsolete content
it brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts.
... css transitions working draft allows the definition of transitions effects between two properties values by adding the css transition, transition-delay, transition-duration, transition-property, and transition-timing-function properties.
Index - Archive of obsolete content
if tracemonkey is built with tracevis, and run with tracevis enabled, then tracemonkey will output a log of all its activity transitions.
...it brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts.
jspage - Archive of obsolete content
ns",$extend({link:"cancel"},a));},get:function(a){if(a||!this.retrieve("morph")){if(a||!this.retrieve("morph:options")){this.set("morph",a); }this.store("morph",new fx.morph(this,this.retrieve("morph:options")));}return this.retrieve("morph");}};element.implement({morph:function(a){this.get("morph").start(a); return this;}});fx.implement({gettransition:function(){var a=this.options.transition||fx.transitions.sine.easeinout;if(typeof a=="string"){var b=a.split(":"); a=fx.transitions;a=a[b[0]]||a[b[0].capitalize()];if(b[1]){a=a["ease"+b[1].capitalize()+(b[2]?b[2].capitalize():"")];}}return a;}});fx.transition=function(b,a){a=$splat(a); return $extend(b,{easein:function(c){return b(c,a);},easeout:function(c){return 1-b(1-c,a);},easeinout:function(c){return(c<=0.5)?b(2*c,a)/2:(2-b(2*(1-c),a))/2; }});};fx...
....transitions=new hash({linear:$arguments(0)});fx.transitions.extend=function(a){for(var b in a){fx.transitions[b]=new fx.transition(a[b]);}};fx.transitions.extend({pow:function(b,a){return math.pow(b,a[0]||6); },expo:function(a){return math.pow(2,8*(a-1));},circ:function(a){return 1-math.sin(math.acos(a));},sine:function(a){return 1-math.sin((1-a)*math.pi/2); },back:function(b,a){a=a[0]||1.618;return math.pow(b,2)*((a+1)*b-a);},bounce:function(f){var e;for(var d=0,c=1;1;d+=c,c/=2){if(f>=(7-4*d)/11){e=c*c-math.pow((11-6*d-11*f)/4,2); break;}}return e;},elastic:function(b,a){return math.pow(2,10*--b)*math.cos(20*b*math.pi*(a[0]||1)/3);}});["quad","cubic","quart","quint"].each(function(b,a){fx.transitions[b]=new fx.transition(function(c){return math.pow(c,[a+2]); });});var request=new class({implements:...
MozBeforePaint
gecko 2.0 adds a new method for performing javascript controlled animations that synchronize not only with one another, but also with css transitions and smil animations being performed within the same window.
... the timestamp property of this event will be set to the time when the animation frame is sampled; this is relevant when trying to synchronize mozrequestanimationframe animations with smil animations or css transitions.
Power profiling overview
a wakeup occurs when a core or package transitions from an idle state to the active state.
...processors can have dozens of p-states, but the transitions are controlled by the hardware and os and so p-states are of less interest to application developers than c-states.
Work with animations - Firefox Developer Tools
it displays animations created using css transitions, css @keyframes rules, or the web animations api.
... if the animation used css transitions, there is one bar for each property transitioned, and it is labeled with the name of the property being transitioned.
Waterfall - Firefox Developer Tools
the hint may be any of: self subtree latersiblings csstransitions cssanimations svgattranimations styleattribute styleattribute_animations force forcedescendants layout calculating the position and size of page elements.
...if you're seeing drops in the frame rate, especially during graphically-intensive operations and transitions, check the waterfall for long green markers.
Using the CSS properties and values API - Web APIs
gister a css custom properties, --my-prop, using @property, as a color, give it a default value, and have it not inherit its value: @property --my-prop { syntax: '<color>'; inherits: false; initial-value: #c0ffee; } using registered custom properties one of the advantages of registering a property is that the browser now knows how it should handle your custom property through things like transitions!
...when registered, though, you've told the browser what type of value it should expect, and because it knows that, it can then set up the transitions properly.
Element - Web APIs
WebAPIElement
this can be used to watch both for successful expected transitions, but also to watch for unexpected changes, such as when your app is running in the background.
... fullscreen events fullscreenchange sent to an element when it transitions into or out of full-screen mode.
HTMLElement - Web APIs
transitionstart fired when a css transition has actually started.
... also available via the ontransitionstart property.
WEBGL_compressed_texture_atc - Web APIs
ext.compressed_rgba_atc_explicit_alpha_webgl compresses rgba textures using explicit alpha encoding (useful when alpha transitions are sharp).
... ext.compressed_rgba_atc_interpolated_alpha_webgl compresses rgba textures using interpolated alpha encoding (useful when alpha transitions are gradient).
WebGL constants - Web APIs
compressed_rgba_atc_explicit_alpha_webgl 0x8c92 compresses rgba textures using explicit alpha encoding (useful when alpha transitions are sharp).
... compressed_rgba_atc_interpolated_alpha_webgl 0x87ee compresses rgba textures using interpolated alpha encoding (useful when alpha transitions are gradient).
Using the Web Animations API - Web APIs
this api was designed to underlie implementations of both css animations and css transitions, and leaves the door open to future animation effects.
... callbacks and promises css animations and transitions have their own event listeners, and these are also possible with the web animations api: onfinish is the event handler for the finish event and can be triggered manually with finish().
Web Animations API Concepts - Web APIs
the web animations api fills the gap between declarative css animations and transitions, and dynamic javascript animations.
...ten years later, the safari team introduced the css animations and css transitions specs.
Window - Web APIs
WebAPIWindow
transitionstart fired when a css transition has actually started.
... also available via the ontransitionstart property.
Using CSS animations - CSS: Cascading Style Sheets
css animations make it possible to animate transitions from one css style configuration to another.
... animation-timing-function configures the timing of the animation; that is, how the animation transitions through keyframes, by establishing acceleration curves.
linear-gradient() - CSS: Cascading Style Sheets
between 10% and 90% the color transitions from red to blue, however the midpoint of the transition is at the 30% mark rather than 50% as would have happened without the 30% color hint.
...the following changes from red to yellow at the 30% mark, and then transitions from yellow to blue over 35% of the gradient linear-gradient(red 40%, yellow 30%, blue 65%); multi-position color stop are allowed.
repeating-conic-gradient() - CSS: Cascading Style Sheets
the repeating-conic-gradient() css function creates an image consisting of a repeating gradient (rather than a single gradient) with color transitions rotated around a center point (rather than radiating from the center).
...the transitions between colors can be altered with color hints between adjacent colors' color stops.
transition-property - CSS: Cascading Style Sheets
formal definition initial valueallapplies toall elements, ::before and ::after pseudo-elementsinheritednocomputed valueas specifiedanimation typediscrete formal syntax none | <single-transition-property>#where <single-transition-property> = all | <custom-ident> examples there are several examples of css transitions included in the main css transitions article.
... specifications specification status comment css transitionsthe definition of 'transition-property' in that specification.
transition-timing-function - CSS: Cascading Style Sheets
linear equal to cubic-bezier(0.0, 0.0, 1.0, 1.0), transitions at an even speed.
...t); } .jump-end { transition-timing-function: steps(5, jump-end); } .jump-none { transition-timing-function: steps(5, jump-none); } .jump-both { transition-timing-function: steps(5, jump-both); } .step-start { transition-timing-function: step-start; } .step-end { transition-timing-function: step-end; } specifications specification status comment css transitionsthe definition of 'transition-timing-function' in that specification.
Event reference
css transition events event name fired when transitionstart a css transition has actually started (fired after any delay).
... transitionend transitionevent css transitions a css transition has completed.
TraceVis - Archive of obsolete content
if tracemonkey is built with tracevis, and run with tracevis enabled, then tracemonkey will output a log of all its activity transitions.
Archived Mozilla and build documentation - Archive of obsolete content
if tracemonkey is built with tracevis, and run with tracevis enabled, then tracemonkey will output a log of all its activity transitions.
Browser Detection and Cross Browser Support - Archive of obsolete content
these include the window.event object, behaviors, filters, transitions, and activex.
Archive of obsolete content
it brings a lot of long-awaited novelties, like rounded corners, shadows, gradients, transitions or animations, as well as new layouts like multi-columns, flexible box or grid layouts.
Index - Game development
we touch on css transitions and css animations, and javascript loops involving window.requestanimationframe.
Techniques for game development - Game development
we touch on css transitions and css animations, and javascript loops involving window.requestanimationframe.
State machine - MDN Web Docs Glossary: Definitions of Web-related terms
in a state diagram, circles represent each possible state and arrows represent transitions between states.
Practical positioning examples - Learn web development
transitions are an interesting feature that allow you to make changes between states happen smoothly, rather than just going "on", "off" abruptly.
Using data attributes - Learn web development
see this screencast for an example using generated content and css transitions (jsbin example).
Strategies for carrying out testing - Learn web development
you may notice from the text in the example that it won't work in ie8 — this is a problem according to our support chart, which you'll have to work on, perhaps by using a feature detection library to implement the functionality in a different way if the browser doesn't support css transitions (see implementing feature detection, later on in the course).
Accessibility information for UI designers and developers
motion on pages with transitions and animations, note that some users could experience distraction, dizziness or nausea.
Listening to events on all tabs
this method will be called on security transitions (eg http -> https, https -> http, foo -> https) and after document load completion.
Experimental features in Firefox
nightly 50 no developer edition 50 no beta 50 no release 50 no preference name layout.css.initial-letter.enabled conic gradients conic gradients expand css gradients to allow the color transitions to be rendered circling around a center point rather than radiating from it.
Chrome-only Events reference
mozbeforepaintgecko 2.0 adds a new method for performing javascript controlled animations that synchronize not only with one another, but also with css transitions and smil animations being performed within the same window.mozscrolledareachangedthe mozscrolledareachanged event is fired when the document view has been scrolled or resized.
Deferred
if this value is a promise, then the associated promise will be resolved to the passed promise, and follow the state as the provided promise (including any future transitions).
Promise
if this value is a promise, then the associated promise will be resolved to the passed promise, and follow the state as the provided promise (including any future transitions).
Deferred
if this value is a promise, then the associated promise will be resolved to the passed promise, and follow the state as the provided promise (including any future transitions).
NSS 3.35 release notes
in order to ease transitions, experimental functions return secfailure and set the ssl_error_unsupported_experimental_api code if the selected api is not available.
nsIDocShell
this should be called only during page transitions.
nsIWebProgressListener
this method will be called on security transitions (for example http -> https, https -> http, foo -> https) and after document load completion.
Index - Firefox Developer Tools
ver over a transform property in the rules view, you'll see the transformation overlaid in the page: 74 work with animations guide, inspector, tools this article covers three tools you can use to visualize and edit animations: 75 animation inspector (firefox 41 and 42) the animation inspector enables you to: 76 animation inspector example: css transitions example animation using css transitions.
Paint Flashing Tool - Firefox Developer Tools
example: css transitions one area where implementation choices can affect repaint efficiency is in css transitions.
Animation.playState - Web APIs
this property is read-only for css animations and transitions.
AnimationEffect - Web APIs
the animationeffect interface of the web animations api defines current and future animation effects like keyframeeffect, which can be passed to animation objects for playing, and keyframeeffectreadonly (which is used by css animations and transitions).
CSS Object Model (CSSOM) - Web APIs
screen orientation api working draft css fonts module level 3 candidate recommendation css animations working draft css transitions working draft css custom properties for cascading variables module level 1 candidate recommendation css conditional rules module level 3 candidate recommendation defined the css interface.
Applying styles and colors - Web APIs
you do this to make very sharp color transitions—in this case from white to green.
Document.getAnimations() - Web APIs
this array includes css animations, css transitions, and web animations.
Document.onfullscreenchange - Web APIs
the document interface's onfullscreenchange property is an event handler for the fullscreenchange event that is fired immediately before a document transitions into or out of full-screen mode.
Document: pointerdown event - Web APIs
for mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed.
Document: transitioncancel event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitioncancel' in that specification.
Document: transitionend event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitionend' in that specification.
Document: transitionrun event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitionrun' in that specification.
DynamicsCompressorNode() - Web APIs
knee: a decibel value representing the range above the threshold where the curve smoothly transitions to the "ratio" portion.
DynamicsCompressorNode.knee - Web APIs
the knee property of the dynamicscompressornode interface is a k-rate audioparam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.
DynamicsCompressorNode - Web APIs
dynamicscompressornode.knee read only is a k-rate audioparam containing a decibel value representing the range above the threshold where the curve smoothly transitions to the compressed portion.
EffectTiming.easing - Web APIs
syntax var timingproperties = { easing: single-transition-timing-function } timingproperties.easing = single-transition-timing-function value a string defining the timing function to use for easing transitions during the animation process.
Element.getAnimations() - Web APIs
note: this array includes css animations, css transitions, and web animations.
Fullscreen API - Web APIs
fullscreenchange sent to a document or element when it transitions into or out of full-screen mode.
GlobalEventHandlers.ontransitioncancel - Web APIs
specification specification status comment css transitionsthe definition of 'ontransitioncancel' in that specification.
GlobalEventHandlers.ontransitionend - Web APIs
specification specification status comment css transitionsthe definition of 'ontransitionend' in that specification.
GlobalEventHandlers - Web APIs
globaleventhandlers.ontransitionstart an eventhandler called when a transitionstart event is sent, indicating that a css transition has started transitioning.
HTMLElement: pointerdown event - Web APIs
for mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed.
Intersection Observer API - Web APIs
<div id="box"> <div class="vertical"> welcome to <strong>the box!</strong> </div> </div> css the css isn't terribly important for the purposes of this example; it lays out the element and establishes that the background-color and border attributes can participate in css transitions, which we'll use to affect the changes to the element as it becomes more or less obscured.
KeyboardEvent.code - Web APIs
transitions or animations could be used to make the ship's movement smoother, too.
KeyframeEffect.target - Web APIs
it performs as both a getter and a setter, except with animations and transitions generated by css.
PointerEvent - Web APIs
for mouse, it is fired when the device transitions from no buttons depressed to at least one button depressed.
RTCDataChannel.onclosing - Web APIs
this is a simple event which indicates that the data channel is being closed, that is, rtcdatachannel transitions to "closing" state.
RTCDataChannel - Web APIs
this is a simple event which indicates that the data channel is being closed, that is, rtcdatachannel transitions to "closing" state.
RTCIceTransportState - Web APIs
if the restart occured during a transient "disconnected" state, the state transitions to "checking" the disconnected state "disconnected" is a transient state that occurs when the connection between the two peers fails in a manner that the webrtc infrastructure can automatically correct once the connection is available again.
SourceBuffer - Web APIs
sourcebuffer.onupdatestart fired whenever the value of sourcebuffer.updating transitions from false to true.
TransitionEvent() - Web APIs
specifications specification status comment css transitionsthe definition of 'transitionevent()' in that specification.
TransitionEvent.transitionName - Web APIs
syntax name = transitionevent.transitionname specifications specification status comment css transitionsthe definition of 'transitionevent.transitionname' in that specification.
TransitionEvent.elapsedTime - Web APIs
syntax name = transitionevent.elapsedtime specifications specification status comment css transitionsthe definition of 'transitionevent.elapsedtime' in that specification.
TransitionEvent.initTransitionEvent() - Web APIs
specifications this method is non-standard and not part of any specification, though it was present in early drafts of css transitions.
TransitionEvent.pseudoElement - Web APIs
syntax name = transitionevent.pseudoelement specifications specification status comment css transitionsthe definition of 'transitionevent.pseudoelement' in that specification.
Spaces and reference spaces: Spatial tracking in WebXR - Web APIs
reset is only used for signficant jumps or transitions; minor things will just be absorbed automatically.
Window.getComputedStyle() - Web APIs
during css transitions, getcomputedstyle returns the original property value in firefox, but the final property value in webkit.
Window.mozAnimationStartTime - Web APIs
this also allows javascript-based animations to remain synchronized with css transitions and smil animations triggered during the same refresh interval.
Window.onmozbeforepaint - Web APIs
this time is the same for all animations being run in the same browser window, including those using the window.mozrequestanimationframe() method, css transitions, and smil animations.
Window: transitioncancel event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitioncancel' in that specification.
Window: transitionend event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitionend' in that specification.
Window: transitionrun event - Web APIs
specifications specification status comment css transitionsthe definition of 'transitionrun' in that specification.
WritableStreamDefaultWriter.ready - Web APIs
the ready read-only property of the writablestreamdefaultwriter interface returns a promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
WritableStreamDefaultWriter - Web APIs
writablestreamdefaultwriter.readyread only returns a promise that resolves when the desired size of the stream's internal queue transitions from non-positive to positive, signaling that it is no longer applying backpressure.
Accessibility: What users can do to browse more safely - Accessibility
examples include: transitionrun transitionstart transitionend transitioncancel edge 75 and above (desktop, in windows 10) according to eric bailey, in his april 30, 2019 article revisiting prefers-reduced-motion, the reduced motion media query, "while microsoft edge does not have support for prefers-reduced-motion, it will become chrome under the hood soon." safari 10.1 and above (desktop) do not enable auto-play (does not work for ...
Web accessibility for seizures and physical reactions - Accessibility
transitions (for css and svg) the following is from the web animations model csswg.org drafts the web animations model is intended to provide the features necessary for expressing css transitions [css-transitions-1], css animations [css-animations-1], and svg [svg11].
@keyframes - CSS: Cascading Style Sheets
this gives more control over the intermediate steps of the animation sequence than transitions.
Mastering Wrapping of Flex Items - CSS: Cascading Style Sheets
what this means in practice is that counters ignore it, and things like transitions do not run.
Animatable CSS properties - CSS: Cascading Style Sheets
certain css properties can be animated using css animations or css transitions.
Introducing the CSS Cascade - CSS: Cascading Style Sheets
WebCSSCascade
ser-agent style sheet: origin importance 1 user agent normal 2 user normal 3 author normal 4 animations 5 author !important 6 user !important 7 user agent !important 8 transitions in case of equality, the specificity of a value is considered to choose one or the other.
CSS Tutorials - CSS: Cascading Style Sheets
WebCSSTutorials
css transitions css3 transitions allow you to define an animation between several styles and to control the way this transition happens.
animation - CSS: Cascading Style Sheets
WebCSSanimation
gglebutton(button[index], 'pause'); }); node.addeventlistener('animationend', function () { togglebutton(button[index], 'restart'); }); }); button.foreach(function (btn, index) { btn.addeventlistener('click', function () { playpause(index); }); }); }) a description of which properties are animatable is available; it's worth noting that this description is also valid for css transitions.
caret-color - CSS: Cascading Style Sheets
note: while user agents may use currentcolor (which is usually animatable) for the auto value, auto is not interpolated in transitions and animations.
<easing-function> - CSS: Cascading Style Sheets
working draft defines <single-timing-function> as a synonym for <single-transition-timing-function> of the css transitions module.
transition-delay - CSS: Cascading Style Sheets
n-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); specifications specification status comment css transitionsthe definition of 'transition-delay' in that specification.
transition-duration - CSS: Cascading Style Sheets
n-timing-function: ease-in-out; } function updatetransition() { var el = document.queryselector("div.box"); if (el) { el.classname = "box1"; } else { el = document.queryselector("div.box1"); el.classname = "box"; } return el; } var intervalid = window.setinterval(updatetransition, 7000); specifications specification status comment css transitionsthe definition of 'transition-duration' in that specification.
will-change - CSS: Cascading Style Sheets
this will let browser prepare the transition ahead of time and allow for snappy transitions between the pages as soon as the key is pressed.
HTML5 - Developer guides
WebGuideHTMLHTML5
animating your style using css transitions to animate between different states or using css animations to animate parts of the page without a triggering event, you can now control mobile elements on your page.
Applying color to HTML elements using CSS - HTML: Hypertext Markup Language
as the value of luminance (or lightness) increases, the color transitions from the darkest possible to the brightest possible (from black to white).
Date.prototype.setMonth() - JavaScript
examples using setmonth() var thebigday = new date(); thebigday.setmonth(6); //watch out for end of month transitions var endofmonth = new date(2016, 7, 31); endofmonth.setmonth(1); console.log(endofmonth); //wed mar 02 2016 00:00:00 specifications specification ecmascript (ecma-262)the definition of 'date.prototype.setmonth' in that specification.
Web Performance
in summary, we should always try to create our animations using css transitions/animations where possible.
Graphic design for responsive sites - Progressive web apps (PWAs)
css as well as adding programmatic graphical effects to links (and anywhere else you might want them), css3 also allows you to write declarative animations and transitions.
stitchTiles - SVG: Scalable Vector Graphics
height="100" style="filter: url(#noise2); transform: translate(220px, 100px);" /> <rect x="0" y="0" width="100" height="100" style="filter: url(#noise2); transform: translate(320px, 100px);" /> </svg> usage notes value nostitch | stitch default value nostitch animatable yes nostitch this value indicates that no attempt is made to achieve smooth transitions at the border of tiles which contain a turbulence function.
Tutorials
css transitions css transitions, part of the draft css3 specification, provide a way to animate changes to css properties, instead of having the changes take effect instantly.