Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Dec 24, 2012 12:21 PM by XIII
Dec 24, 2012 09:49 AM|LINK
Hi, i need to use the buttons, styles provided by the Bootstrap framework , but i am not sure how can i use it inside my asp.net mvc application, so or shouldnot i do the folloiwng:-
1. replace the whole.css which come by default with asp.net mvc , by the new .css file provided by the bootstrap. Or i should add the join the two files?
2. what about the _layout view which is provided by the asp.net mvc? will it work out-of-the-box with the new bootstap .css file?
Dec 24, 2012 10:04 AM|LINK
which specific bootstrapper are you making use of? There's quite many nowadays.
There have been made several project templates and Nuget packages already to insert Twitter bootstrapper to your project:
Add css by bootstrap as new .CSS and use its classes.
It will work fine, but it may conflict with any existing class name of MVC .CSS and result in misaligned layouts.
but as per my consideration it is not going to happen.
Dec 24, 2012 10:21 AM|LINK
Thanks for your reply. i am refering to this
Dec 24, 2012 12:21 PM|LINK
you might want to follow the steps explained in here:
And yes you'll likely have to move some things around and change some of the _layout as well. Bootstrappers are meant to easily get a head start in the beginning of a project. As with all things related to UI and look & feel it's harder to put it in near
the end of the project and takes more time.