Bootstrap Toasts are lightweight notifications designed to mimic the push notifications that have been popularized by mobile and desktop operating systems. They’re built with flexbox, so they’re easy to align and position. See the docs.
Stylesheet switching is done via JavaScript and can cause a blink while page loads. This will not happen in your production code.