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_*的标签,如:

posted @ 2019-11-13 13:37  爱打盹的猫猫  阅读(210)  评论(0编辑  收藏  举报