in the "header" of your HTML, change the order of the local css file and the boot css, the local css should be after the boot css:
<head> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> <link rel="stylesheet" href="style.css"> </head>
Now, if you applied! important in your CSS, this should work.
another solution is to use inline CSS <element style="padding:0"></element>
محمد نعاس
source share