[Bootstrap Padding Not working] pl-lg-4 not working


Question: I am trying to use Padding in Boostrap to only pad left when on the large screen, but it seem to not work. Below is my code:

<div class="pl-lg-4">
//Content
</div>

What is going on?

 


Login to See the Rest of the Answer

Answer:
If pl-lg-4 does not work, the code below:

<div class="p-lg-4 pt-lg-0">
//Content
</div>

The code above will pad the div on the large screen and leave out padding on top of the div. I hope this helps

Another article here.
Did you know you could edit this article?
Editing an Article is so awesome!!
Do you think editing articles is cool?

I would like to edit now.






© 2024 - ErnesTech - Privacy
E-Commerce Return Policy