I have two different design for mobile and desktop. When I tried to restore the chrome then the mobile version looks good but when I check on the phone it didn't show me at all. The desktop version is all clear.
I have tried display function none and block in css.
HTML
<body>
<div class="row" >
<div class="column">
<img src="logo.png" style="position: absolute; padding-top: 15%;">
</div>
<div class="column1">
<img src="new.png" style="position: fixed;z-index: -1">
<div class="links">
<h1><a href="http://okdateme.com" target="_blank">FIND A PARTNER</a></h1>
<h1><a href="https://stayaunty.com" target="_blank">BOOK A ROOM</a></h1>
<h1><a href="https://www.thatspersonal.com/" target="_blank">EXPLORE YOUR FANTASIES</a></h1>
</div>
</div>
</div>
<div class="mobile">
<img src="logo.png" style="width: 100%;">
<div>
<img src="new.png" style="width: 100%; position: absolute; z-index: -1; margin-top: -25px;">
<h2><a href="http://okdateme.com">FIND A PARTNER</a></h2>
<h2><a href="https://stayaunty.com">BOOK A ROOM</a></h2>
<h2><a href="https://www.thatspersonal.com/">EXPLORE YOUR FANTASIES</a></h2>
</div>
</div>
CSS
body
{
width: 100%;
height: 100%;
margin: 0;
background-color: #000;
}
.row:after{
clear:both;
background-color: #000;
}
.column {
width: 33.33%;
float: left;
}
.column1 {
width: 66.66%;
float: right;
position: relative;
}
.links{
font-family: Comic Sans MS;
margin-top: 30%;
}
a{
text-decoration: none;
color: #cc3366;
z-index: 9999;
position: relative;
background-color: #000;
}
@media(min-width: 768px){
.mobile{
display: none;
}
}
@media(max-width: 767px) {
.row:after, .column, .row{
display: none;
}
}
@media (max-width: 767px) {
div.row, .column, .column1{
display: none;
}
.mobile{
display: all;
}
a{
color: #fff;
background-color: #999900;
font-family: Comic Sans MS;
}
}
My desktop version is looking good but the desktop version is also coming to mobile. But I have tried a different mobile design and hide the desktop on the mobile.