Customize

      Learn how to theme, customize, and extend Bootstrap with Sass, a boatload of global options, an expansive color system, and more.

      On this page

      Overview

      There are multiple ways to customize Bootstrap. Your best path can depend on your project, the complexity of your build tools, the version of Bootstrap you’re using, browser support, and more.

      Our two preferred methods are:

      1. Using Bootstrap via package manager so you can use and extend our source files.
      2. Using Bootstrap’s compiled distribution files or jsDelivr so you can add onto or override Bootstrap’s styles.

      While we cannot go into details here on how to use every package manager, we can give some guidance on using Bootstrap with your own Sass compiler.

      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 a best path forward, if necessary.

      返回頂部
      主站蜘蛛池模板: 久久久久久一区国产精品| 亚洲熟妇AV一区二区三区浪潮| 国产一区二区免费| 伊人久久精品一区二区三区| 99精品高清视频一区二区| 国产第一区二区三区在线观看| 精品无人区一区二区三区| 奇米精品一区二区三区在| 538国产精品一区二区在线| 毛片无码一区二区三区a片视频| 久久久久人妻精品一区二区三区| 波多野结衣一区二区三区aV高清| 精品一区二区久久久久久久网精 | 国产伦精品一区二区三区无广告 | 亚洲永久无码3D动漫一区| 国产一区二区三区无码免费| 成人毛片一区二区| 夜夜精品视频一区二区| 成人在线观看一区| 国产一区二区三区四| 国产一区二区三区美女| 日本一区午夜爱爱| 一区二区不卡久久精品| 亚洲日本一区二区三区在线不卡| 国产成人综合亚洲一区| 日本免费精品一区二区三区| 一区二区三区无码高清视频| 亚洲国产成人久久一区久久| 肥臀熟女一区二区三区| 久久久无码精品国产一区| 波多野结衣在线观看一区二区三区 | 久久精品免费一区二区喷潮| 国产精品亚洲一区二区麻豆| 国产日产久久高清欧美一区| 日韩伦理一区二区| 国产精品无码一区二区在线观一| 狠狠综合久久AV一区二区三区 | 日本无码一区二区三区白峰美 | 国精品无码一区二区三区左线| 亚洲老妈激情一区二区三区| 日韩AV无码久久一区二区|