Changeset 241178 in webkit


Ignore:
Timestamp:
Feb 7, 2019 5:21:34 PM (5 years ago)
Author:
Jon Davis
Message:

Fixed animation positioning when homepage animation completes
https://bugs.webkit.org/show_bug.cgi?id=194395

Reviewed by Devin Rousso.

  • wp-content/themes/webkit/front-header.php:
Location:
trunk/Websites/webkit.org
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Websites/webkit.org/ChangeLog

    r241174 r241178  
     12019-02-07  Jon Davis  <jond@apple.com>
     2
     3        Fixed animation positioning when homepage animation completes
     4        https://bugs.webkit.org/show_bug.cgi?id=194395
     5
     6        Reviewed by Devin Rousso.
     7
     8        * wp-content/themes/webkit/front-header.php:
     9
    1102019-02-07  Jon Davis  <jond@apple.com>
    211
  • trunk/Websites/webkit.org/wp-content/themes/webkit/front-header.php

    r239448 r241178  
    4747        width: 100%;
    4848        height: 1261px;
    49         background-image: radial-gradient(ellipse closest-corner at center center,hsl(198, 100%, 20%) 0%,hsla(204, 100%, 20%,0) 100%);
     49        background-image: radial-gradient(ellipse closest-corner at center center, hsl(198, 100%, 20%) 0%, hsla(204, 100%, 20%, 0) 100%);
    5050        z-index: 4;
    51         transform: translateY(-45rem);
     51        transform: translateY(-450px);
    5252    }
    5353
     
    6262        background-size: 101.5%;
    6363        z-index: 3;
    64         transform: translateY(-40rem);    }
     64        transform: translateY(-400px);
     65    }
    6566
    6667    #compass {
     
    7374        background-size: 98%;
    7475        opacity: 0.3;
    75         -webkit-animation: bgspin 360s ease-out;
    76         animation: bgspin 360s ease-out;
     76        animation-name: bgspin;
     77        animation-duration: 360s;
     78        animation-timing-function: ease-out;
    7779        z-index: 2;
    7880        will-change: transform;
     81        transform: translateY(-400px);
    7982    }
    8083
     
    8487            -webkit-transform: translateY(-400px) rotate(0deg);
    8588        }
    86         to {
    87             transform: translateY(-400px) rotate(360);
    88             -webkit-transform: translateY(-400px) rotate(360deg);
    89         }
    90     }
    91 
    92     @-webkit-keyframes bgspin {
    93         from {
    94             transform: translateY(-400px) rotate(0);
    95             -webkit-transform: translateY(-400px) rotate(0deg);
    96         }
    97 
    9889        to {
    9990            transform: translateY(-400px) rotate(360);
     
    149140        #compass {
    150141            animation: none;
    151             transform: translateY(-400px);
    152142        }
    153143    }
    154 
    155144    </style>
    156145
Note: See TracChangeset for help on using the changeset viewer.