Adding to what @stel and @benjamin-summers mentioned, bootstrap version less than 4 will add some padding based on the width of the device, so we should apply the style for the body { } as padding:0
Whereas in Bootstrap v4, it doesn’t happen, it lets us to add the padding
I was thinking bootstrap was overwriting your font-styles that why I suggested it should come last so that its not overwritten.
But if you do not have any styles defined for your fonts in your main.css you wouldn’t see any changes even if it comes last.
No.I don’t use Bootstrap3.I use last version(bootstrap 4.1.3 i think) .
I need it for datatables.When I don’t have it my datatables look like this:
When I have it:
That’s only reason why I use bootstrap 3.3.6(that’s only on this page,other pages work normal)…
((I’m find on google that for datatables I need to add this 3.3.6 css…Because when i don’t have it,it don’t work good…))
if everything works correctly with bootstrap 3 I would just use it. its a good library.
but if you just want the grid system there is no reason to use the entire bootstrap library
you only need the bootstrap-grid.css