.main { position: relative; height: 1000px; background: url(../img/index-bkg.jpg) no-repeat; background-size: cover; .main-service { position: absolute; left: 0; right: 0; bottom: 0; height: 150px; background-color: rgba(0,0,0,.2); ul { display: flex; justify-content: space-around; a { display: block; padding-top: 30px; width: 180px; text-align: center; .icon { padding-bottom: 5px; font-size: 60px; } h1 { font-size: 25px; color: #EEE; } } } } }