Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [CSS]@media css-nieprawidłowe wykrywanie rozdzielczości
Krismen
post
Post #1





Grupa: Zarejestrowani
Postów: 86
Pomógł: 0
Dołączył: 5.02.2009

Ostrzeżenie: (0%)
-----


Witam. Testuję stronę w komórce Samsung. Mam takie media style:

  1. @media (max-width: 1000px) and (min-width:800px){
  2. body {
  3. background:orange;
  4. }
  5. }
  6.  
  7.  
  8. @media (max-width: 799px) and (min-width:600px){
  9. body {
  10. background:red;
  11. }
  12. }
  13.  
  14.  
  15. @media (max-width: 599px) and (min-width:100px){
  16. body {
  17. background:black;
  18. }
  19. }


Komórka, która ma wyświetlacz o rozdzielczości 240 x 320 łapie mi styl
  1. @media (max-width: 1000px) and (min-width:800px){
  2. body {
  3. background:orange;
  4. }
  5. }


Co może być przyczyną?
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 21.08.2025 - 05:58