In the project I am studying / working on I am making minor adjustments to native Bootstrap classes to meet my needs.
1: Is this really the best practice? Or is it better to create our classes and override bootstrap? Or is there any other best practice for us to customize our projects?
For example, below I created a class to modify a Bootstrap native navbar:
.navperson {
box-shadow: 2px 2px 8px rgba(0,0,0,0.5);
color: #ffffff;
border-top: 2px solid #5bc0de;
border-bottom: 2px solid #5bc0de;
}
2: In the .html document, first I always need to link bootstrap .css and then custom .css, right? If we apply the bootstrap .css later, it will not overwrite the custom .css properties, right?
3: Does the order of classes change anything?
Ex:
<nav class="navbar navbar-expand-md navbar-light navperson">
Or:
<nav class="navperson navbar-light navbar-expand-md navbar">