After inheriting a website with an abundance of CSS and JavaScript, the task at hand is adding a toolbar, dialog box, and popper to the existing web page. The ideal choice would be using bootstrap, but unfortunately, there seems to be a conflict between the existing CSS.
An intriguing discovery was made regarding isolating the bootstrap CSS to a specific section of the HTML:
<div class="bootstrap-iso">
<!-- Any HTML here will be styled with Bootstrap CSS -->
</div>
The next challenge that emerged was dealing with JavaScript (bootstrap dialog boxes require jQuery and popper.js).
Solution
Ultimately, the decision was made to utilize the uikit library due to its unique features such as "custom-prefix" mode and "scope" mode which effectively address the conflicts faced: