I was writing a code and I wanted it to be in a particular position for which I used padding
.The code looks like this.
<div class="col-xs-12 col-sm-2" style="padding: 40px 5px 4px 4px;">
<img src="img/logo.png" class="img-responsive">
</div>
It works but I wanted to know that in the first line is it good practice to apply inline css to the Bootstrap class or should I do this whole thing by the use of Bootstrap?