I have a hard time qualifying most of these as "tricks," which would imply some hidden or barely-utilized feature.<p>Most of these are quite explicitly described in the documentation (img-responsive, nested columns, responsive grids, container-fluid are all very upfront in the documentation).<p>And on a UX note, I cannot see any advantage to the animated, slightly expanding prettyprint code boxes. I don't think this is a valuable piece of UI.
Went to the site on my iPhone, started reading, then got pushed into the iTunes Store to a free slot app by some scummy ad.<p>Closed page. Didn't read.
May I politely suggest that the twirling-on-scroll social icons are a bit over the top? All that motion makes them something I instinctively want to avoid.
I like the tips but nosying around the rest of the site some of your other content is absolutely lovely.<p>The chrome all-stars series is absolutely fantastic, I'm primarily a Firefox user (I've always preferred Firebug to Chrome Dev Tools) but I'm starting to realise that in a lot of ways chromes dev tools are much <i>deeper</i> than firebugs.<p>Cheers :).
Heres an actual Bootstrap trick: Display placeholder text as tooltip content for focused, non-empty form inputs.<p>Have you ever entered information into a form that used placeholder text to tell you what to write, and you already started typing so that text disappeared but forget what you're supposed to be writing? The only way to view that placeholder text is by clearing the input field, right? Well if you have Bootstrap included already we can do some magic!<p><pre><code> // Display placeholder="" text as tooltip for :focused, non-empty inputs
$('form input').blur(function() {
var inputVal = $(this).val(),
titleText = $(this).attr('placeholder');
if ( inputVal != '' ) {
$(this).tooltip({
title: titleText,
trigger: 'focus',
container: 'form'
});
}
});</code></pre>
> It will stack like this on large devices (desktop):<p>> And it will stack like this on small devices (tablets/phones, 768px and below):<p>Isn't that the default behaviour of inline HTML elements?<p>Honestly, most of the time I don't know what I gain by using Bootstrap, and would be very pleased if they distributted a Bootstrap-lite that only changed the default presentation of elements without all those containers, effects, and optional styles.
site is down for me, but mirror here <a href="http://webcache.googleusercontent.com/search?q=cache%3Ahttp%3A%2F%2Fscotch.io%2Fbar-talk%2Fbootstrap-3-tips-and-tricks-you-might-not-know&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a&channel=sb" rel="nofollow">http://webcache.googleusercontent.com/search?q=cache%3Ahttp%...</a>
Shameless plug: <a href="http://www.williamghelfi.com/bootstrap-in-practice" rel="nofollow">http://www.williamghelfi.com/bootstrap-in-practice</a><p>But I'm linking it only because in that page I offer my own tips and tricks via an email mini-course.<p><i>Beginners</i> have found it useful.
Cool write-up!<p>One thing though, the hover menu doesn't really work with my Nexus 7, as it sends me straight to reddit. Hover in general assumes a mouse and doesn't work on mobile, which I'm guessing is why it was not included out of the box.