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无码一区二区三区不卡| 日本高清一区二区三区 | 精品人妻少妇一区二区| 2021国产精品一区二区在线| 精品91一区二区三区| 2018高清国产一区二区三区| 午夜精品一区二区三区在线观看| 精品国产一区二区三区不卡| V一区无码内射国产| 国产在线步兵一区二区三区| 精品国产一区二区三区久久久狼| 国产凹凸在线一区二区| 亚洲中文字幕丝袜制服一区 | 国产精品无码一区二区在线观一| 久久久老熟女一区二区三区| 精品视频在线观看你懂的一区| 国产一区视频在线免费观看| 精品福利视频一区二区三区| 91精品一区二区| 亚洲无码一区二区三区| 日韩欧美一区二区三区免费观看 | 国产99久久精品一区二区| 国产日韩一区二区三区在线观看| 无码欧精品亚洲日韩一区夜夜嗨| 国产麻豆精品一区二区三区| 麻豆精品人妻一区二区三区蜜桃 | 日本高清一区二区三区| 久久精品无码一区二区三区免费 | 亚洲av乱码一区二区三区按摩| 91福利视频一区| 精品国产亚洲第一区二区三区| 波多野结衣中文字幕一区| 国产精品99无码一区二区|