Is their any way I can move one div from top to bottom for mobile phone screens using media queries or CSS. Please help
Yes its very easy using media queries so for example
html
<div class="top">
<p>Hello</p>
</div>
css
top{
position: absolute;
top: 0;
}
@media (max-width: 768px){
bottom: 0 !important;
}
something as simple as this will do what you have described but without more information to go on I cant eleborate any further. I would look into media queries as well because this is quite basic stuff, there are lots of great tutorials online.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.