Dog
Dog

Reputation: 2916

How to replicate bootstrap button style

I'm trying to replicate the bootstrap button style without having to import the bootstrap CDN into my project. Is there an efficient way to do this?

Upvotes: 0

Views: 1250

Answers (2)

Mile Mijatović
Mile Mijatović

Reputation: 3175

Yes, you can. Open this page - https://getbootstrap.com/docs/3.3/customize/ and check/uncheck what you want

In your case you need to check

Common CSS - Buttons

Components - Buttons groups

Your custom version of Bootstrap is now ready to be compiled. Just click the button below to finish the process.

enter image description here

Upvotes: 1

Korgrue
Korgrue

Reputation: 3478

Download the package here: https://v4-alpha.getbootstrap.com/getting-started/download/

Then open it and go into the SCSS directory. Look for _buttons.scss.

Open it, copy the styles, paste them into your CSS. You may have to hard code any SASS vars they use.

Upvotes: 0

Related Questions