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.

      返回頂部
      主站蜘蛛池模板: 国产一区二区三区夜色| a级午夜毛片免费一区二区| 国产裸体歌舞一区二区| 最新中文字幕一区| 无码精品黑人一区二区三区| 日韩精品福利视频一区二区三区| 久久无码人妻一区二区三区午夜| 任你躁国产自任一区二区三区| 午夜一区二区在线观看| 亚洲熟妇无码一区二区三区导航 | 岛国精品一区免费视频在线观看 | 肥臀熟女一区二区三区| 精品视频一区二区观看| 精品国产AV无码一区二区三区| 久久国产精品无码一区二区三区 | 色狠狠色狠狠综合一区| 亚洲国产一区国产亚洲| 国产a∨精品一区二区三区不卡 | 国产乱码精品一区二区三区中| 亚洲综合无码精品一区二区三区| 一区二区三区杨幂在线观看 | bt7086福利一区国产| 精品国产伦一区二区三区在线观看 | 国产av一区最新精品| 色综合久久一区二区三区| 无码av中文一区二区三区桃花岛| 久久久无码精品人妻一区| 免费看AV毛片一区二区三区| 精品久久综合一区二区| 国产精品第一区揄拍无码| 欲色影视天天一区二区三区色香欲| 在线观看国产一区二区三区 | 香蕉久久av一区二区三区| 亚洲一区二区在线免费观看| 精品不卡一区二区| 日韩AV无码一区二区三区不卡| 免费一区二区三区在线视频| 久久精品中文字幕一区| 中文字幕视频一区| 精品亚洲一区二区三区在线观看| 国产精品视频一区二区三区无码|