GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

07Delete Shift Where Comments Below Rise by the Deleted Row's Height

Deleting a comment calculates the height its row occupied and shrinks it to zero while fading out, and the comments below calculate that vanished distance and spring up to fill it.

Best forDeleting one's own comment

DELETE_SHIFT_SPRING_STIFFNESSshiftDurationremoveRow
Delete Shift Where Comments Below Rise by the Deleted Row's Height
Open in a new tab

07 Delete Shift Where Comments Below Rise by the Deleted Row's Height — Measured area 31.415% · moving frames 11/23Original by GODRICH · SCSS and React ship in the zip · Comment Section UI: 9 Thread List Patterns

The post this demo lives in

Comment Section UI: 9 Thread List Patterns - preview of all 9 demosComment Section UI: 9 Thread List PatternsThe pixels a deleted comment used to fill become exactly how far the rows below rise, and reply indentation pulls its wi See all demos in this post

If you like this effect - similar demos