ThatGuy343
ThatGuy343

Reputation: 2424

Bootstrap Modal on non-bootstrap website

I would like to use a bootstrap modal as seen here:

http://getbootstrap.com/javascript/

In the example modals. However my site uses 0 bootstrap resources (.css or .js).

What is the simplest way i can go about adding bootstrap (both in UI and animation style) modals to my site?

Just extract the bits needed from bootstrap.js and .css that are needed? Just wondering if there are other options.

Thank you.

Upvotes: 1

Views: 231

Answers (1)

Nikhil Talreja
Nikhil Talreja

Reputation: 2774

I think its better to use the minified versions of the .js and .css files from the bootstrap bundle rather than bits and pieces of the files.

You can download it from : https://github.com/twbs/bootstrap/releases/download/v3.1.1/bootstrap-3.1.1-dist.zip

Using modals is very simple after that: http://getbootstrap.com/javascript/#modals

Upvotes: 1

Related Questions