Even with a higher z-index, my <h4>
and <a>
elements are not visible above the background.
<section class="no-padding main-slider mobile-height wow fadeIn">
<div class="swiper-full-screen swiper-container height-100 width-100 white-move">
<div class="swiper-wrapper">
<div class="swiper-slide equalize xs-equalize-auto">
<div class="col-md-12 col-sm-12 col-xs-12" style="background-image:url('img/bg1.jpg'); background-size: cover">
<div style="background-color: rgba(0, 0, 0, 0.5); position: absolute; height: 100%; width: 100%;"></div>
<div class="display-table width-100 height-100">
<div class="display-table-cell vertical-align-middle text-left padding-twelve-all xs-padding-five-all xs-padding-90px-top">
<h4 class="text-swipe-title text-white margin-auto alt-font font-weight-600 letter-spacing-minus-1">TEXT</h4>
<a href="#itin" style="z-index: 9" class="btn btn-small btn-rounded btn-secondary margin-50px-top xs-margin-20px-top">TEXT</a>
</div>
</div>
</div>
</div>
My goal is to position both the <h4>
and the <a>
elements above the background by adjusting the z-index property.