Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8"> 
<title>grid-area,grid-template-areas实战</title>
</head>
<body>
<h1>grid-area、grid-template-areas属性</h1>
<p>你可以使用 <em>grid-area</em> 属性来命名网格元素。</p>
<p>命名的网格元素可以通过容器的 grid-template-areas 属性来引用。</p>
<p>网格布局容器,设置 6 行 3 列。</p>
<div class="grid-container">
  <div class="item1">Header</div>
  <div class="item2">Menu</div>
  <div class="item3">Main</div>  
  <div class="item4">Right</div>
  <div class="item5">Footer</div>
</div>
</body>
</html>
Output 300px

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
anonymouspro
0viewers