I am learning webdesign(wordpress) so I come in problem with media queries. I use Bootstrap 4 grid system so I am using also media queries of bootstrap 4 which is :
// Extra small devices (portrait phones, less than 576px) @media (max-width: 575.98px) { ... }
// Small devices (landscape phones, 576px and up) @media (min-width: 576px) and (max-width: 767.98px) { ... }
// Medium devices (tablets, 768px and up) @media (min-width: 768px) and (max-width: 991.98px) { ... }
// Large devices (desktops, 992px and up) @media (min-width: 992px) and (max-width: 1199.98px) { ... }
// Extra large devices (large desktops, 1200px and up) @media (min-width: 1200px) { ... }
I see this media queries is not enough specialy with iphones and samsungs new series. I see that I have to write extra break points to target those mobiles. I made a search in google and I see onother kind of media queries which is targeting width and height with webkit-device-pixel-ratio:2 or 3 etc .I see also there is also device targeting media queries which makes me confused my question is now: if I use extra break points for 375 width 4014 width iphones etc wil be enough or I have also to target height and webkit-device-pixel ratio. what do you advise me? there is a lot of mobile devices with different resolutions. thanks