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="box">
  <ul>
    <li class="item">
      <div class="container">
        <div class="outer">
          <img src="https://shp.qpic.cn/pggamehead/0/1560161558_557_750x422/374" />
        </div>
        <div class="info">
          <p>KRKPL季后赛 EMC vs CW</p>
          <span>LPL副直播间</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div class="outer">
          <img src="https://shp.qpic.cn/pggamehead/0/1560165922_985_750x400/374" />
        </div>
        <div class="info">
          <p>瘟疫传说,往日不在随缘玩</p>
          <span>纯黑</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div class="outer">
          <img src="https://shp.qpic.cn/pggamehead/0/1550135686_218_750x422/374" />
        </div>
        <div class="info">
          <p>象棋特级大师许银川331757894</p>
          <span>特级大师许银川</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div class="outer">
          <img src="https://shp.qpic.cn/pggamehead/0/1542025715_770_750x422/374" />
        </div>
        <div class="info">
          <p>最刺激的刚枪直播间!!</p>
          <span>BBY</span>
        </div>
      </div>
    </li>
  </ul>
</div>
<p>&nbsp;</p>
<hr/>
<p>&nbsp;</p>
  <div class="box">
  <ul>
    <li class="item">
      <div class="container">
        <div>
          <img src="https://shp.qpic.cn/pggamehead/0/1560161558_557_750x422/374" intrinsicsize="16x9" />
        </div>
        <div class="info">
          <p>KRKPL季后赛 EMC vs CW</p>
          <span>LPL副直播间</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div>
          <img src="https://shp.qpic.cn/pggamehead/0/1560165922_985_750x400/374" intrinsicsize="16x9" />
        </div>
        <div class="info">
          <p>瘟疫传说,往日不在随缘玩</p>
          <span>纯黑</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div>
          <img src="https://shp.qpic.cn/pggamehead/0/1550135686_218_750x422/374" intrinsicsize="16x9" />
        </div>
        <div class="info">
          <p>象棋特级大师许银川331757894</p>
          <span>特级大师许银川</span>
        </div>
      </div>
    </li>
    <li class="item">
      <div class="container">
        <div>
          <img src="https://shp.qpic.cn/pggamehead/0/1542025715_770_750x422/374" intrinsicsize="16x9" />
        </div>
        <div class="info">
          <p>最刺激的刚枪直播间!!</p>
          <span>BBY</span>
        </div>
      </div>
    </li>
  </ul>
</div>
</body>
</html>
 
* {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
img {
  width: 100%;
  height: 100%;
}
.item {
  float: left;
  width: 25%;
  padding: 0 14px;
  box-sizing: border-box;
  background: #fff;
}
.outer {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.outer img {
  position: absolute;
  top: 0; left: 0;
}
.info p {
  font-size: 15px;
  line-height: 24px;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.info span {
  color: #888;
  font-size: 12px;
  line-height: 24px;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers