Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок0
Responsive website
What is the logic behind Responsive websites? how they know is user is using phone or any other device?
2 ответов
0
In css, you can use media queries to check for the width, height and resolution of the target device, and set your styling rules differently depending on different sizes that you chose.
0
1st main thing is your browser resolution,
2nd what usually serverside will see is a useragent
3rd mostly used in front end javascript is a Navigator