Behavior should be very similar but the code is simplified and it should fix various bugs where the card was showing out of screen even if we had available space.
Styling based on element-ids, it is impossible for themes/plugins to display multiple cards on a single page. Using classes is a more flexible approach. The element-ids are maintained for backwards compatibility with existing plugins/themes.