0

Responsive website

What is the logic behind Responsive websites? how they know is user is using phone or any other device?

12th Nov 2020, 4:16 AM
Ankit Nainwal
Ankit Nainwal - avatar
2 odpowiedzi
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.
12th Nov 2020, 4:25 AM
CHMD
CHMD - avatar
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
12th Nov 2020, 4:30 AM
Rei
Rei - avatar