bootstrap

1.Grid  12 columns. 3-6-3、4-8、3-5-4、2-8-2
  1. <div class="row">   
  2. <div class="span8">...</div>   
  3. <div class="span4">...</div> 
  4. </div>
 2. Responsive

<link href="/css/bootstrap-responsive.css" rel="stylesheet"> 
media query  (min-width and max-width)

  1. <link rel="stylesheet" href="base.css" /> 
  2. <link rel="stylesheet" media="(min-width: 1200px)" href="large.css" /> 
  3. <link rel="stylesheet" media="(min-width: 768px) and (max-width: 979px)"   
  4. href="tablet.css" /> 
  5. <link rel="stylesheet" media="(max-width: 767px)" href="tablet.css" /> 
  6. <link rel="stylesheet" media="(max-width: 480px)" href="phone.css" />

  1. /* large screen */  
  2. @media (min-width: 1200px) { .. desktop:1200px col:70px space:30px }  
  3. /* tablet */  
  4. @media (min-width: 768px) and (max-width: 979px) {
  5. ... tablet:980px col:60px spacing:20px.
  6.            768px  42px      spacing:20px 
     }  
  7. /* phone */  
  8. @media (max-width: 767px) { ...fluid}  
  9. /* phone */  
  10. @media (max-width: 480px) { ... fluid }
3 jquery
h t t p ://w w w .bootcss.com/p/jquery-ui-bootstrap/
v 3. bo otcss.com/getting-started/
v 3. boot c s s.com /  c s   s /

评论

此博客中的热门博文

XML, XSL, HTML

Input in element.eleme.io

Data URI是由RFC 2397 ACE