Séimí Mac Síomón on Nostr: I'm trying to learn a few things about media queries in CSS, and I have a quick ...
I'm trying to learn a few things about media queries in CSS, and I have a quick question.
When you put create your HTML boiler plate code, and you specify in the META tag like this ;
<meta name="viewport" content="width=device-width, initial-scale=1" />
you are saying that you are asking the browser to inquire about the width of the screen, and to use that information to render the document, that's fine , I get all of that .
My question is , if I have a laptop with an external display, which "device-width" is the browser going with , the external display , or the laptop width ?
#AskNostr
#WebDevelopment
#Coding
#Cheers
When you put create your HTML boiler plate code, and you specify in the META tag like this ;
<meta name="viewport" content="width=device-width, initial-scale=1" />
you are saying that you are asking the browser to inquire about the width of the screen, and to use that information to render the document, that's fine , I get all of that .
My question is , if I have a laptop with an external display, which "device-width" is the browser going with , the external display , or the laptop width ?
#AskNostr
#WebDevelopment
#Coding
#Cheers