How to put back the hover effect on Bootstrap3's buttons? - css

The devs said Bootstrap 3 would come bundled with an optional theme to make it look like Bootstrap 2.
The problem is they seem to have forgotten to put the hover effects on the buttons. Is there a way to put that back?
This is how it looks on v2, just move the mouse over any button and see the effect:
http://getbootstrap.com/2.3.2/examples/hero.html
And this is how it looks now in v3 (no effect):
http://getbootstrap.com/examples/theme/

The easiest way would be to create your own custom class, say, .btn-custom, and then apply your preferred styling, including hover effect. This answer shows you how to create your own button styles in Boostrap 3.
This website also helps to easily generate the CSS styles: http://twitterbootstrap3buttons.w3masters.nl

Related

Why is Bootstrap styling lost in my sidebar?

I use bootstrap dashboard (https://getbootstrap.com/docs/4.1/examples/dashboard) as a base for my project.
I have added form in the sidebar but 'bootstrap' styling is lost as you can see in picture below.
I have tried different approach like crispy-form (what I currently use), django-widget-peaks, but result is not really good I think, maybe because part of CSS is override?
For example, text in the "Select" is partially visible...
I would like to be able to use bootstrap styling option like input-group-sm to decrease input size but it doesn't works...
Thanks for your help

Where can I find Bootstrap buttons without using bootstrap?

I'd like to put some buttons in my web app, with the exact same style like the ones from bootstrap.
Does someone have that styles in CSS to be included withtout using bootstrap?
Also, is there a "list" of the styles (templates?) that bootsrap had over time? I remember that in the past the buttons were not flat and now they are...
Thank you for your help!
This is not how Boodstrap works, you can use styling to make it look like a boodstrap button.

Angular 2 ng-bootstrap styles are botched

I had this working before, and then I upgraded a bunch of packages and rearranged some css, and now all of my ng-bootstrap component styles are ruined.
Please see this picture for a demonstration of the problem:
http://i.imgur.com/lrGnRht.png
As you can see, the NgModal is being added to the DOM but it is essentially invisible unless unless I manually add "opacity: 1" to my <ngb-modal-window></ngb-modal-window> . Also the background/backdrop isn't darkened like it should be. Also the modal isn't vertically centered - half of it is floating off the top of the screen. Lastly, the datepicker styles are trashed also. I don't know what went wrong with the css styles, but I removed all possible global styles and this still occurs, so I'm at a loss for words. Any ideas on what styles might be causing this?
This is using Angular#2.4.2, ng-bootstrap#1.0.0-alpha.20, and bootstrap#4.0.0-alpha.5
Long story short, I guess bootstrap#4.0.0-alpha.5 is no longer supported.

make a specific page LTR while Sass is set for RTL (Zurb Foundation)

My problem is with elements such as dropdowns.
the javascript is responsible for placing the dropdown, and Im looking for a way to let it know I want it to unfold left-to-right.
Same goes for the "after" pseudo-element, of that little arrow on the button.
This is a picture of how it looks now:
Any way to achive this?

I would like to make a Multi level vertical menu without javascript or jquery i just need the CSS to make it

I'm looking for the CSS code to create a multi level vertical menu with no Jquery or javascript just pure CSS.
I have the HTML part done and ready to go!
You should follow this guide until step 3.
In case that site ever goes down essentially what you are going to need to investigate is using the :hover selector to show and hide various parts of the menu at any given time.
The flyout menu from www.cssmenus.co.uk might be worth looking at?

Resources