Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>JS Bin</title>
</head>
<body>
<div class="container">
  <div class="item">1</div>
  <div class="item">2</div>
  <div class="item">3</div>
</div>
</body>
</html>
 
.container {
  display: grid;
  grid-template-columns: 1fr 1fr minmax(100px, 1fr);
}
.container .item{
  text-align: center;
  color: #fff;
}
.container .item:nth-child(1){
  background-color: red;
}
.container .item:nth-child(2){
  background-color: blue;
}
.container .item:nth-child(3){
  background-color: green;
}
Output

This bin was created anonymously and its free preview time has expired (learn why). — Get a free unrestricted account

Dismiss x
public
Bin info
anonymouspro
0viewers