Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 298122

Add a CSS animation to expanding of details elements

$
0
0

The transition between the collapsed and open state of details is very sudden. From a visual perspective, this makes the interface feel very blunt rather than smooth.

I suggest that we add a very small transition between open and closed state, having it collapse. This should be doable with CSS only, and we have to make sure that we do this collapse within the "noticeable" but not causing it to feel slow. This should be easily do-able, and now that we don't need JS for this anymore - it seems like a feasible objective.

Screenshot of where to find a <details> element.


Viewing all articles
Browse latest Browse all 298122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>