After much tinkering, I have completed my “Random Quote App”. I will appreciate your feedback. http://www.alexporobe.com/quotes. I have to host it on my custom domain as I struggled with making codepen.io to talk to the Javascript and could not. If you did this project, how did you achieve that?
Remove the height property from your .buttons class so it doesn’t spill over on mobile display. See before and after. (Actually, the cream box only enclosed the green button because it thought it only has a height of 45px… not taking into account the blue button has wrapped around the next line. By removing the hardcoded height, the cream box then correctly took into account that the blue button has wrapped around, and now it displays properly.)
Way too much for that div, i think That causes the layout to work unexpectedly sometimes. For example, it gets almost all the width of the document (aprox. 95%), but as soon as you get to 992px in width, it shrinks itself till about 45% of the total width of the document. Check it out.
@SpaniardDev, thanks for taking the time to look through. As already pointed out by @owel however, those classes define how I want to display my app on different screen sizes. Thanks again.
Sorry, I didn’t think it was actually on purpose (it was late here :). I thought you wanted your layout go all from side to side fluidly. That’s why I thought there was too many classes.
Anyway, in my opinion, having an easy layout like this and testing it on my screens, I would be less explicit on the breakpoints:
<div class="col-xs-12 col-sm-8 col-sm-offset-2">
In this case you get the effect of the box-like layout you want to achieve at 992px but just right after 768px.
Again, sorry for the confusion.
PS: Check the link to your pen, it is the FreeCodeCamp example