Tlolela ho litaba tsa mantlha Tlolela ho li-docs navigation
Check
in English

Iketsetse

Ithute ho etsa tema, ho etsa, le ho holisa Bootstrap ka Sass, mefuta e mengata ea likhetho tsa lefats'e, sistimi e pharalletseng ea mebala, le tse ling.

Kakaretso

Ho na le mekhoa e mengata ea ho etsa Bootstrap. Tsela ea hau e ntle e ka ipapisa le morero oa hau, ho rarahana ha lisebelisoa tsa hau tsa kaho, mofuta oa Bootstrap oo u o sebelisang, tšehetso ea sebatli, le tse ling.

Mekhoa e 'meli eo re e ratang ke:

  1. Ho sebelisa Bootstrap ka molaoli oa sephutheloana hore o tsebe ho sebelisa le ho holisa lifaele tsa rona tsa mohloli.
  2. U sebelisa lifaele tsa kabo e hlophisitsoeng tsa Bootstrap kapa jsDelivr hore o tsebe ho eketsa kapa ho hlakola mekhoa ea Bootstrap.

Le ha re sa khone ho fana ka lintlha mona mabapi le mokhoa oa ho sebelisa molaoli e mong le e mong oa sephutheloana, re ka fana ka tataiso mabapi le ho sebelisa Bootstrap ka pokello ea hau ea Sass .

For those who want to use the distribution files, review the getting started page for how to include those files and an example HTML page. From there, consult the docs for the layout, components, and behaviors you’d like to use.

As you familiarize yourself with Bootstrap, continue exploring this section for more details on how to utilize our global options, making use of and changing our color system, how we build our components, how to use our growing list of CSS custom properties, and how to optimize your code when building with Bootstrap.

CSPs and embedded SVGs

Several Bootstrap components include embedded SVGs in our CSS to style components consistently and easily across browsers and devices. For organizations with more strict CSP configurations, we’ve documented all instances of our embedded SVGs (all of which are applied via background-image) so you can more thoroughly review your options.

Based on community conversation, some options for addressing this in your own codebase include replacing the URLs with locally hosted assets, removing the images and using inline images (not possible in all components), and modifying your CSP. Our recommendation is to carefully review your own security policies and decide on the best path forward, if necessary.