Forum Discussion
banikm
19 days agoCommunity Member
HTML source code to set for laptop and mobile
Hello e-learning heroes, Hope all of you are doing well. I would need some help from you guys. Is it possible in HTML source code to define separate sizes for Laptop and Mobile? The current setup...
John_Reddinger
11 days agoCommunity Member
Hi! What you're looking for is a CSS media query. It looks something like this:
(max-width: 768px) {
.container {
width: 300px;
}
}
I'm sure you can find lots of detailed info on YouTube.
Edit: that first code line is supposed to say MeDia (max-width: 768px)
-- ironically the code input window is messing up my code. :D
It thinks I'm tagging somebody named "MeDia". Hi MeDia!
Related Content
- 24 days ago
- 1 month ago