bootstrap笔记

目录

1.bootstarp简介

2.django-bootstrap4的使用

1.bootstarp简介

  bootstarp是CSS/HTML框架,封装了很多样式属性,使用时直接调用即可。

2.django-bootstrap4的使用

  a.安装插件django-bootstrap4。cmd下执行 pip install django-bootstrap4

  b.在项目settings.py中的INSTALLED_APPS中加入 'bootstrap4,'

   c.在模板中,加载bootstrap4库,用bootstrap_*的标签,如:

原文地址:https://www.cnblogs.com/wang-mengmeng/p/11848302.html