When integrating Bootstrap on a website with pre-existing styles, namespace it to prevent any conflicts.
$npm install
$npx postcss node_modules/bootstrap/dist/css/bootstrap.css -o dist/css/bootstrap-prefixed.css
By default the CSS file will be generated with .bootstrap as a class that all your Bootstrap styles need to be nested in. To edit this class, simply edit the postcss.conf.js file.