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="o-grid__col u-12/12" style="width: 400px;
          height: 400px;
          position: relative;
          display: inline-block;
          overflow: hidden;
          text-align: center;
          margin: 0;
          border: 1px solid #000;">
          <div class="mySlides wrapper_image_horses" style="position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);">
            <img src='https://picsum.photos/id/159/200/200' style="width: auto;height: auto;">
          </div>
</div>
</body>
</html>
 
* {
  margin: 0;
  padding: 0;
}
section {
  width: 50vw;
  margin: 0 auto;
}
.wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  max-height: 500px;
}
.item {
  width: 18vw;
  min-height: 100px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 1vw;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 300%;
}
Output

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

Dismiss x
public
Bin info
anonymouspro
0viewers