Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

details transition css

details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}

@keyframes sweep {
  0%    {opacity: 0; transform: translateX(-10px)}
  100%  {opacity: 1; transform: translateX(0)}
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #details #transition #css
ADD COMMENT
Topic
Name
9+6 =