[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?

 

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.


Edit this Article
If you log in, you will be notified when someone leaves a comment.

Other users would like to know if this solution helped you.


© 2022 - ErnesTech - Privacy