le>
</head>
<body>
  <p>I should come before style[amp-keyframes]</p>

  <p>I should also come before style[amp-keyframes]</p>
  <style amp-keyframes>@keyframes anim1{0%{opacity:0}to{opacity:1}}@media screen and (max-width:960px){@keyframes anim1{0%{opacity:1}to{opacity:0}}}@keyframes existing{0%{height:0}to{height:100px}}</style>
</body>
</html>