0
I confess that webdesign is not my strong suit, so I need to ask some crucial questions regarding responsive websites. I understand that to define formatting for various devices you use Media Queries. For example.:
I created this media for testing:
@media (max-width: 768px) {
body tr td{
font-size: 20px;
}
}
In the Motorola G4 Plus (the one with ghost touch), it appears perfect. It is 5.5'' inches, but on another smartphone with the 4.5' screen the font superimposed the column.
My doubts are:
- How do I make the site to be satisfactorily visible in all Vices based on their dimensions, ie what Media Query use for each dimension of Vices. Ex: 4.5'' (@media...), 5.5'' (@media...), etc?
- There is a pattern of media queries based on the screen dimensions of the Vices?
Hello Bruno. Forgive me the ignorance, but what would be combo media queries + Responsive?
– user24136
Responsiveness is the technique of building a fluid site, with elements that adapt according to size (usually with dimensioned elements using %).
– Brunno Vianna
Right. Just to better understand how to define media queries based on the screens of Vices. Using as example the Motorola G4 Plus, in the specifications says that the screen is 1080 x 1920 pixel, so if I wanted to use it as a model, I would have to do so @media (max-width: 1080px) ?
– user24136
You have a very interesting article about using media queries here: https://tableless.com.br/introducao-sobre-media-queries/
– Brunno Vianna
See the problem: your answer is correct ONLY if the mobile phone is vertical. If the user turns it 90º, the logic becomes another. Understand?
– Brunno Vianna
@Fox.11 If my answer helped you, please accept as correct. =)
– Brunno Vianna
Perfect Bruno. Thank you.
– user24136