linux12

两个div在同一行显示

栅格系统需要引用bootstrap插件

<script src="~/Scripts/BootStrap/bootstrap.js">

</script> <link href="~/Content/BootStrap/bootstrap.css" rel="stylesheet" />

栅格系统使页面内容随页面大小改变,将页面一行分为最多十二块

col-lg- 大屏
col-md- 中屏
col-sm- 小屏
后面数字是多少,就是占了多少份

部分代码:

 

运行结果:

分类:

技术点:

相关文章:

  • 2021-08-22
  • 2021-12-28
  • 2021-11-02
  • 2021-12-10
  • 2021-12-10
猜你喜欢
  • 2021-11-02
  • 2021-12-28
  • 2021-12-28
  • 2021-12-10
  • 2021-11-30
  • 2021-12-10
相关资源
相似解决方案