How can I ignore bottom property on mobile screens?
<div id="myID">...</div>
#myID {
position: fixed;
bottom: 5px;
right: 5px;
opacity: 1;
cursor: pointer;
}
@media (min-width:305px) and (max-width:415px) {
#myID {
top: 8px !important;
right: 225px !important;
zoom: 0.6 !important;
z-index: 99999999 !important;
}
}
It tries to take bottom:5px
and top:8px
at the same time, and it causes some problems on mobile screens.