Hi what is the media queries for these devices samsung (s5,s4,grand prime, all samsung devices) ?
Thank you.
Hi what is the media queries for these devices samsung (s5,s4,grand prime, all samsung devices) ?
Thank you.
From a CSS and RWD standpoint, a good website is one that is essentially âdevice-agnosticâ and does not attempt to pander to each individual device width. Targeting the specific breakpoints for different âtypesâ of devices (e.g. tablets or mobile devices) is achieved by focusing on how the content displays at certain viewport widths and then making changes with media queries as appropriate. So the device does not dictate the breakpoint, the layout and content does, and ultimately this will produce the best results; both from your perspective and for your users.
Do not design with specific devices in mind. Do not follow the methodology of designing for specific devices. Donât do queries based on devices.
Read hte article please.
Thank you Iâll be backâŚby the way how do you test your web site if you donât have devices ?
Thank you.
Some browsers have emulation modes. Or you can simply resize the browser window.
Take your browser, drag it smaller / bigger. Now you know if your website is fully responsive
*Should probably still test in some devices via browserstack.com or other emulations, but as far as âhow itâll appearâ, 99% of the time, itâll be exactly the way it is if you just drag your browser small enough.
By resizing the screen size of your browser
Ok, so how do I know that when we resizing the browser is the screen size of the device fore example S5
Thank you.
Donât worry about that. Resize your browser via dragging. Do you like the display in all sizes? Good - thatâs all you need.
Youâre still in the mindset of trying to make specific devices look good. Just get it looking perfect in all views when you resize your browser, and whatever the s5 gets, you know itâll look perfect anyway.
It is easier than that⌠When your design looks crap, thatâs the limit that you need to take into consideration. The size of the device itself doesnât matter.
Thank you. I have some problem when I resize my browser my menu looks fine in browser when I resize it.but when I viewed on the phone, the menu is getting smaller (the menu text ). I need to double tap the screen so that it will zoom. why is that ?
Thank you
Do you have this line of code in your <head>
section?
<meta name="viewport" content="width=device-width,initial-scale=1">
Did you read my article yet? You probably arenât set up to be resonsive yet.
I see now, yes I am reading your article, you are great.
Thank you Iâll be back.
Is it okay to test in firefox ctrl +shift+ M ? it brings up the responsive design view. is this okay ?
Itâs not 100% sure-thing but thatâs OK for the most part.
I find it useful in that it displays the screen size as you alter it, so you can identify the break points to add your media query. But it does have some annoying quirks.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.