bootstrap 4 floating toast code example Example: set auto-hide toast javascrpt $(".toast").toast({ autohide: false });