<div></div>
div {
background:
linear-gradient(to right,
white 0,
white 4px,
transparent 4px,
transparent 5px
),
url(https://s3-us-west-2.amazonaws.com/s.cdpn.io/61811/figure8s.jpg);
background-size:
5px 100%,
cover;
background-position:
0px 0px,
0px 0px;
width: 100%;
max-width: 500px;
height: 240px;
}
body {
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
overflow: hidden;
}
Also see: Tab Triggers