Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBartlomiej Zabielski
Courses Plus Student 10,363 PointsBootstrap units for padding margin
I tried to google and read the bootstrap documents website but i cant find the answer. I watched Guil's bootstrap videos and he mentions that setting pt-4 on the container padds top padding of 1.5rem. Where can i find unit guidelines for bootstrap? Wouldnt 4 just be 4 rem?
2 Answers
martinjones1
Front End Web Development Techdegree Graduate 44,824 PointsI know what you mean, I would expect 4 to be 4rem.
You can see how spacing is calculated on the links below:
https://v4-alpha.getbootstrap.com/utilities/spacing/
$spacer default value:
Bartlomiej Zabielski
Courses Plus Student 10,363 Pointsyou are the best thank you.
EDIT: >< i found that page before but was to impatient and did not read it properly. I can see how its calculated now thank you.