Twitter Bootstrap 3.0 how do I “badge badge-important” now

Just add this one-line class in your CSS, and use the bootstrap label component. .label-as-badge { border-radius: 1em; } Compare this label and badge side by side: <span class=”label label-default label-as-badge”>hello</span> <span class=”badge”>world</span> They appear the same. But in the CSS, label uses em so it scales nicely, and it still has all the “-color” … Read more

Mark error in form using Bootstrap

(UPDATED with examples for Bootstrap v4, v3 and v3) Examples of forms with validation classes for the past few major versions of Bootstrap. Bootstrap v4 See the live version on codepen <div class=”container”> <form> <div class=”form-group row”> <label for=”inputEmail” class=”col-sm-2 col-form-label text-success”>Email</label> <div class=”col-sm-7″> <input type=”email” class=”form-control is-valid” id=”inputEmail” placeholder=”Email”> </div> </div> <div class=”form-group row”> … Read more

How to display a list inline using Twitter’s Bootstrap

Bootstrap 2.3.2 <ul class=”inline”> <li>…</li> </ul> Bootstrap 3 <ul class=”list-inline”> <li>…</li> </ul> Bootstrap 4 <ul class=”list-inline”> <li class=”list-inline-item”>Lorem ipsum</li> <li class=”list-inline-item”>Phasellus iaculis</li> <li class=”list-inline-item”>Nulla volutpat</li> </ul> source: http://v4-alpha.getbootstrap.com/content/typography/#inline Updated link https://getbootstrap.com/docs/4.4/content/typography/#inline

What are these attributes: `aria-labelledby` and `aria-hidden`

HTML5 ARIA attribute is what you’re looking for. It can be used in your code even without bootstrap. Accessible Rich Internet Applications (ARIA) defines ways to make Web content and Web applications (especially those developed with Ajax and JavaScript) more accessible to people with disabilities. To be precise for your question, here is what your … Read more

Bootstrap tooltips not working

To sum up: activate your tooltips using jQuery selectors <script type=”text/javascript”> $(function () { $(“[rel=”tooltip”]”).tooltip(); }); </script> In fact, you don’t need to use the attribute selector, you can invoke it on any element even if it doesn’t have rel=”tooltip” in its tag.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)