• python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Facebook Twitter Instagram
Devs Fixed
  • python
  • javascript
  • reactjs
  • sql
  • c#
  • java
Devs Fixed
Home ยป Resolved: padding inside d-flex bootstrap

Resolved: padding inside d-flex bootstrap

0
By Isaac Tonny on 18/06/2022 Issue
Share
Facebook Twitter LinkedIn

Question:

i try to use padding inside d-flex to seperate the element that become one inside the d-flex class, but when i try to add padding, it’s not working and change nothing, if i don’t use the d-flex, the element won’t become inline one by one so i need to use d-flex but in d-flex , the padding is not working, how to properly use it
code example :
picture example : enter image description here

Answer:

Padding will add space inside the border of the element. You can fix the issue by adding a class your-class in the flex container and giving a gap: 20px using CSS on the parent element. It will separate the elements from each other.


If you have better answer, please add a comment about this, thank you!

css flexbox html twitter-bootstrap
Share. Facebook Twitter LinkedIn

Related Posts

Resolved: EntityFramework creates/runs migrations using parameterless DataContext instance

24/03/2023

Resolved: Visual Studio 2022 crashes when using breakpoints

24/03/2023

Resolved: How to get Union type from an array of objects in Flow?

24/03/2023

Leave A Reply

© 2023 DEVSFIX.COM

Type above and press Enter to search. Press Esc to cancel.