Why is flex-fill not creating equal width in bootstrap?

Bootstrap’s flex-fill is unfortunately a very bad class. It sets the following flex CSS properties: flex: 1 1 auto; This is equivalent to: flex-grow: 1; flex-shrink: 1; flex-basis: auto; The grow and shrink values are fine. This is what makes the boxes share the available space evenly. The auto flex-basis value however is not good: … Read more

Bootstrap 3 Tooltip over Glyphicon

You can get a simple tooltip over the glyphicon using the title attribute (which is blank in your example). title=”info” Working code // add this in your js // all the glyphicons having the class “my-tooltip” will show a tooltip if “title” attribute is present $(“.my-tooltip”).tooltip(); <span class=”glyphicon glyphicon-info-sign my-tooltip” title=”here goes the tooltip text”></span>

Twitter Bootstrap 3 icon displaying a square

Try re-downloading the fonts, may be corrupt. Check the MD5 MD5 (glyphicons-halflings-regular.eot) = 2469ccfe446daa49d5c1446732d1436d MD5 (glyphicons-halflings-regular.svg) = 3b31e1de93290779334c84c9b07c6eed MD5 (glyphicons-halflings-regular.ttf) = aa9c7490c2fd52cb96c729753cc4f2d5 MD5 (glyphicons-halflings-regular.woff) = 7c4cbe928205c888831ba76548563ca3

Correct way to add padding to Bootstrap body to prevent content and header overlap

Yes your solution is acceptable. So if you have the combined one or the two Bootstrap files in the beginning and you would like to have the navigation bar, this is the way to avoid the big padding when on smaller screens: <link href=”https://stackoverflow.com/questions/14842079/css/bootstrap.css” rel=”stylesheet”> <link href=”css/bootstrap-responsive.css” rel=”stylesheet”> <style> body { padding-top: 60px; } @media … Read more

Hiding Bootstrap Tooltips on Mobile using Media Queries

I have achieved it differently; Mobile and other devices are touch enabled, so I checked if it’s touch device or not. function isTouchDevice(){ return true == (“ontouchstart” in window || window.DocumentTouch && document instanceof DocumentTouch); } Now, check if it’s not a touch device to trigger the tool-tip: if(isTouchDevice()===false) { $(“[rel=”tooltip”]”).tooltip(); }

how to avoid text overflow in twitter bootstrap?

make the html structure like this… <div class=”span4″> <span class=”hideOverflow”>@Html.ActionLink(item.Name, “Details”, new { id = item.Id }, new { @class = “JumpLinks”, @style = “font-size:13px;font-weight:bold;” })</span> </div> The CSS:- .hideOverflow { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; width:100%; display:block; }

Bootstrap 3: Reduce height of list-group-item in list-group

If you are using bootstrap 4 then solution is easy, no need to write any new class. We can use py-0/py-1/py-2/py-3/py-4 class according to your need with LI element: <ul class=”list-group”> <li class=”list-group-item py-2″ ng-repeat=”i in filters”> {{i}} </li> </ul> Where property is one of: m – margin p – padding Where sides is one … Read more

Open Bootstrap Modal from code-behind

By default Bootstrap javascript files are included just before the closing body tag <script src=”https://stackoverflow.com/questions/15410232/vendors/jquery-1.9.1.min.js”></script> <script src=”bootstrap/js/bootstrap.min.js”></script> <script src=”vendors/easypiechart/jquery.easy-pie-chart.js”></script> <script src=”assets/scripts.js”></script> </body> I took these javascript files into the head section right before the body tag and I wrote a small function to call the modal popup: <script src=”https://stackoverflow.com/questions/15410232/vendors/jquery-1.9.1.min.js”></script> <script src=”bootstrap/js/bootstrap.min.js”></script> <script src=”vendors/easypiechart/jquery.easy-pie-chart.js”></script> <script src=”assets/scripts.js”></script> … Read more