On starting to implement my own toasts, I have discovered they are invisible, because Bootstrap CSS contains a declaration for .toast
(which among other things sets its opacity to zero).
But Bootstrap’s website shows no results when searching for toast
, nor does the javascript bundle file contain the string toast
. I don’t know if this could be something leftover from Bootstrap 3, but the documentation for 3.3.7 also doesn’t contain the string toast
anywhere on their Components nor Javascript page.
I am unsure if it’s okay for me to delete that part of the CSS file, or it may break some other component?
2
Answers
i think you can, here the documentation bootstrap for toast
https://getbootstrap.com/docs/4.2/components/toasts/
EDIT : probably you need upgrade your bootstrap version
It is documented in the v4.2 Documentation under Components. Are you searching in the wrong Bootstrap 4 documentation?