Currently working on a React.js project using Bootstrap 4. The issue I'm facing involves two elements - navbar and alert, both implemented from Bootstrap4. Strangely, when setting position:fixed for both elements (overriding CSS), they become semi-transparent. I never intended to make them transparent and did not use any rgba color codes. This unexpected outcome has left me puzzled, wondering why this happened and where should I look for the solution.