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 trial

CSS Framework Basics Prototyping with Bootstrap Working with Nested Grids and Responsive Images

Carol Leung
Carol Leung
802 Points

How would you remove the 'btn-group' on smaller device when 'hidden-xs' is added on the second button.

In your tutorial you added 'hidden-xs' class on the 'text me the link' for mobile but the parent div have 'btn-group' class so when the 'download' button is showing for mobile only it doesn't have border radius on all four corners. How would you remove the parent 'btn-group' class for mobile only so the 'download button' look like a pill on mobile. I suppose you could make two set of button groups each with a parent div where one is visible for desktop only with 'btn-group' class and another which is visible for mobile only without a 'btn-group' class and only have the 'download' button in it but this method is not ideal as we're duplicating code.