S
S
Sanchik972018-09-06 12:34:24
css
Sanchik97, 2018-09-06 12:34:24

How to remove unwanted bootstrap elements?

Good afternoon! How can unused bootstrap 4 code be removed? It so happened that from bootstrap 4 only the navigation bar is needed, and the rest of the code is not used. I tried separate scss _navbar, _dropdown and a couple more files to import into mine, but for some reason the styles do not work. What to do?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Michael R., 2018-09-06
@Sanchik97

1. Get souse bootstrap-4 files .
2. Scss > bootstrap.scss comment out unnecessary components and then compile a new bootstrap-4 assembly.
PS keep in mind that the nav-bar you need for its work may require those components that you commented out earlier...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question