Web Development question | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Web Development question

If you are building a website that will support 3 different device sizes and print, match the styling with how it could be included CSS that is common across all devices and media Print styling Smartphones Tablets Laptop and desktops

24th Apr 2021, 8:03 PM
Satyam Patel
Satyam Patel - avatar
2 ответов
+ 1
Basically a responsive website 🤔 1. Use media queries 2. Flex box 3. Vendor prifix for styles not supported in some browsers
24th Apr 2021, 9:03 PM
Iyosayi0x
Iyosayi0x - avatar
+ 1
Yeah! Good question!! Try to use 1)flex box 2)Media queries in CSS like max-height and max-width 3)Use vw for resizing width of an object and vh for resizing height of an object 4)Use meta tags And set the viewport initial scale=1 Never use px and % for defining height and width of an object Hope it helps!!!! Happy coding
25th Apr 2021, 3:28 AM
The INDIAN
The INDIAN - avatar