Мой html код, подобный этому:
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="slider.css">
<title>Home</title>
</head>
<body class="header-static ">
<div class="page-container">
<div id="nav-white-left">
<div class="navbar blue-txt">
<nav class="nav-extended navbar-white z-depth-0">
<div class="nav-wrapper" style="color:black;text-align: center;">
Header
</div>
</nav>
</div>
</div>
<section class="sec-homepage" style="background-color:#FFFFFF">
<div class="image-background" style="background-image: url('');">
<div class="color-overlay-section" data-direction="bottom"
data-hex1="000000"
data-hex2="000000"
data-opacity1="0.6"
data-opacity2="0.6">
<div class="white-text center">
<div class="swiper-container swiper-homepage">
<div class="swiper-wrapper ">
<div class="swiper-slide">
<div class="hide-on-med-and-down swiper-slide-bg " style=background-image:url('https://img.techpowerup.org/200129/slider1.png');">
<div class="color-overlay-header" style="height:100%;" data-direction="bottom" data-hex1="#000000" data-hex2="#000000" data-opacity1="0.5" data-opacity2="0.3"></div>
<div class="header-content">
<div class="center-ct">
<h3 class="title"></h3>
<h5 class="subtitle bottom-25"></h5>
<a class="btn btn-white waves-effect waves-dark " href="#">Detail</a>
</div>
</div>
</div>
<div class="swiper-slide-bg hide-on-large-only " style=background-image:url('https://img.techpowerup.org/200129/slider1.png');>
<div class="header-content">
<div class="center-ct">
<h3 class="title"></h3>
<h5 class="subtitle bottom-25"></h5>
<a class="btn btn-white waves-effect waves-dark " href="#">Detail</a>
</div>
</div>
</div>
</div>
<div class="swiper-slide">
<div class="hide-on-med-and-down swiper-slide-bg " style=background-image:url('https://img.techpowerup.org/200129/slider2.png');">
<div class="color-overlay-header" style="height:100%;" data-direction="bottom" data-hex1="#000000" data-hex2="#000000" data-opacity1="0.5" data-opacity2="0.3"></div>
<div class="header-content">
<div class="center-ct">
<h3 class="title"></h3>
<h5 class="subtitle bottom-25"> </h5>
<a class="btn btn-white waves-effect waves-dark " href="#">Detail</a>
</div>
</div>
</div>
<div class="swiper-slide-bg hide-on-large-only " style=background-image:url('https://img.techpowerup.org/200129/slider2.png');>
<div class="header-content">
<div class="center-ct">
<h3 class="title"></h3>
<h5 class="subtitle bottom-25"> </h5>
<a class="btn btn-white waves-effect waves-dark " href="#">Detail</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<section class="blue-3-colomn" style="background-color:#FFFFFF">
<div class="image-background" style="background-image: url('');">
<div class="" data-direction="bottom"
data-hex1=""
data-hex2=""
data-opacity1="0.6"
data-opacity2="0.6">
<div class="container-cstm blue-txt">
<div class="row bottom-0" style="text-align: center;">
Content
</div>
</div>
</div>
</div>
</section>
<footer class="page-footer white">
<div class="footer-copyright border-top-grey white">
<div class="container grey-text text-darken-1 center">
<div class="container grey-text text-darken-1 center">
Footer
</div>
</div>
</div>
</footer>
</div>
</body>
</html>
Демо и полный код, подобный этому:
https://codepen.io/positivethinking639/pen/WNbBjGX
Я проверяю на мобильной версии (android и iphone) и на планшете тоже не реагирует
Как сделать так, чтобы он реагировал на все устройства?