Answers for "css transition after page load"

CSS
1

stop css transition from firing on page load

//Bug of chrome, add
</script> </script> //(white single space)
//in your HTML footer
Posted by: Guest on November-18-2020
-1

transition aftre page load

@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

header {  
  /* This section calls the slideInFromLeft animation we defined above */
  animation: 1s ease-out 0s 1 slideInFromLeft;
  
  background: #333;
  padding: 30px;
}

/* Added for aesthetics */ body {margin: 0;font-family: "Segoe UI", Arial, Helvetica, Sans Serif;} a {text-decoration: none; display: inline-block; margin-right: 10px; color:#fff;}
Posted by: Guest on November-27-2020

Browse Popular Code Answers by Language