Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

App invoking another app

This article needs a technical review. How you can help.

The animation when an app is opened from inside another app.

Visualization

Code

/* Invoking app moves out */
animation: invokingApp 0.6s forwards ease-out;
@keyframes invokingApp {
  0%   { transform: scale(1.0); }
  50%  { transform: scale(0.8) translateX(0);    z-index: 12; }
  100% { transform: scale(0.6) translateX(105%); z-index: 10; }
}

/* Invoking app fades out */
animation: showOverlay 0.3s forwards ease-out 0.3s;
@keyframes showOverlay {
  0%   { background: rgba(0,0,0,0); }
  100% { background: rgba(0,0,0,0.7); }
}

/* Invoked app moves in */
animation: invokedApp 0.6s forwards ease-out;
@keyframes invokedApp {
  0%   { transform: scale(0.6) translateX(-133%); }
  50%  { transform: scale(0.6) translateX(-105%); z-index: 10; }
  100% { transform: scale(1.0) translateX(0);     z-index: 12; }
}

/* Invoked app overlay fades in */
animation: hideOverlay 0.3s forwards ease-in 0.3s;
@keyframes hideOverlay {
  0%   { background: rgba(0,0,0,0.7); }
  100% { background: rgba(0,0,0,0); }
}

Document Tags and Contributors

 Contributors to this page: chrisdavidmills, kscarfone
 Last updated by: chrisdavidmills,