/
githubmirror
/
amphtml
Обзор
Документация
Войти
/
githubmirror
/
amphtml
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validator/testdata/feature_tests/style_amp_keyframes_passing.out
83 строки
3 KB
honeybadgerdontcare
Validator rollup 20210819 (#35748)
20 авг 2021, 21:08
Не верифицирован
20 авг 2021, 21:08
15f658d
Код
Авторство
О чём код?
PASS | <!-- | Test Description: | This tests a <style> tag in body and should pass. | --> | <!doctype html> | <html ⚡> | <head> | <meta charset="utf-8"> | <title>STAMP examples</title> | <link rel="canonical" href="http://nonblocking.io/" > | <meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | <style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal both}@-webkit-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-moz-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-ms-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@-o-keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}@keyframes -amp-start{from{visibility:hidden}to{visibility:visible}}</style><noscript><style amp-boilerplate>body{-webkit-animation:none;-moz-animation:none;-ms-animation:none;animation:none}</style></noscript> | <script async src="https://cdn.ampproject.org/v0.js"></script> | </head> | <body> | <div></div> | <style amp-keyframes> | @keyframes anim1 { | 0% {transform: translateX(-100%);} | 100% {transform: translateX(100%);} | } | @-webkit-keyframes anim1 { | 0% {transform: translateX(-100%);} | 100% {transform: translateX(100%);} | } | @-moz-keyframes anim1 { | 0% {transform: translateX(-100%);} | 100% {transform: translateX(100%);} | } | @-o-keyframes anim1 { | 0% {transform: translateX(-100%);} | 100% {transform: translateX(100%);} | } | @media (min-width: 300px) { | @keyframes anim1 { | 0% {transform: translateX(-200%);} | 100% {transform: translateX(200%);} | } | } | @supports (offset-distance: 0) { | @keyframes anim1 { | 0% {offset-distance: 0} | 100% {offset-distance: 100%} | } | } | @media (min-width: 300px) { | @supports (offset-distance: 0) { | @keyframes anim1 { | 0% {offset-distance: 0} | 100% {offset-distance: 100%} | } | } | } | @supports (offset-distance: 0) { | @media (min-width: 300px) { | @keyframes anim1 { | from {transform: translateX(-200%); opacity: 0.5; visibility: hidden;} /* from is 0% */ | to {transform: translateX(200%); opacity: 1; visibility: visible;} /* to is 100% */ | } | } | } | @supports (offset-distance: 0) { | @media (min-width: 300px) { | @keyframes anim1 { | 100% {opacity: 0.5;} | } | } | } | @supports (offset-distance: 0) { | @media (min-width: 300px) { | @keyframes anim1 { | 100% {visibility: visible;} | } | } | } | @keyframes anim1 { | from {transform: translateX(-200%); opacity: 0.5; visibility: hidden;} /* from is 0% */ | to {transform: translateX(200%); opacity: 1; visibility: visible;} /* to is 100% */ | } | </style> | </body> | </html>