Java知识分享网 - 轻松学习从此开始!    

Java知识分享网

        
AI编程,程序员挑战年入30~100万高级指南 - 职业规划
SpringBoot+SpringSecurity+Vue权限系统高级实战课程        

IDEA永久激活

Java微信小程序电商实战课程(SpringBoot+VUe)

     

AI人工智能学习大礼包

     

PyCharm永久激活

66套java实战课程无套路领取

     

Cursor+Claude AI编程 1天快速上手视频教程

     

Bootstrap - Jake Spurlock PDF 下载


时间:2024-07-03 11:26来源:http://www.java1234.com 作者:转载  侵权举报
Bootstrap - Jake Spurlock
失效链接处理
Bootstrap - Jake Spurlock PDF 下载

 
 
 
相关截图:
 


主要内容:
 

Basic Grid HTML
To create a simple layout, create a container with a <div> that has a class of .row and
add the appropriate amount of .span* columns. Since we have a 12-column grid, we
just need the amount of .span* columns to equal 12. We could use a 3-6-3 layout, 4-8,
3-5-4, 2-8-2… we could go on and on, but I think you get the gist.
The following code shows .span8 and .span4, which adds up to 12:
<div class="row">
 <div class="span8">...</div>
 <div class="span4">...</div>
</div>
Offsetting Columns
You can move columns to the right using the .offset* class. Each class moves the span
over that width. So an .offset2 would move a .span7 over two columns (see
Figure 1-2):
<div class="row">
 <div class="span2">...</div>
 <div class="span7 offset2">...</div>
</div>

 


 

 
------分隔线----------------------------


锋哥推荐