Created by: MartijnCuppens
https://github.com/twbs/bootstrap/pull/22392 didn't solve the bounce effect and changed the transition from ease-in-out to ease. This PR restores the original transition.
The bounce in #27156 (closed) is caused by the switch from position: absolute to position: relative which causes a repaint. This PR uses a float based technique which will only change the transform.
I also removed align-items: center;, .carousel-item doesn't use flexbox.
Fixes #27156 (closed).