两个div在同一行显示时间:2023-03-09 05:29:50 栅格系统需要引用bootstrap插件 <script src="~/Scripts/BootStrap/bootstrap.js"> </script> <link href="~/Content/BootStrap/bootstrap.css" rel="stylesheet" /> 栅格系统使页面内容随页面大小改变,将页面一行分为最多十二块 col-lg- 大屏col-md- 中屏col-sm- 小屏后面数字是多少,就是占了多少份 部分代码: 运行结果: