* { padding:0; margin:0; list-style:none; vertical-align:top; } body { background:url(http://www.jq22.com/img/cs/500x300-1.png) no-repeat; background-size:cover; } #box { background-color:rgba(255,255,255,.5); } #box ul { display:flex; justify-content:space-around; align-items:center; cursor:pointer; } #box ul li img { width:180px; height:120px; margin:10px 0; }