@media screen and (max-width : 1280px) { /* CSS FOR NETBOOK AND DESKTOP ------------*/ } @media screen and (max-width : 1024px) { /* CSS FOR TABLETS ------------*/ } @media screen and (max-width : 768px) { /* CSS FOR SMALL TABLETS ------------*/ } @media screen and (max-width : 640px) { /* CSS FOR IPHONE ------------*/ } @media screen and (max-width : 480px) { /* CSS FOR MOBILES ------------*/ } @media screen and (max-width : 320px) { /* CSS FOR SMALL OLD MOBILES ------------*/ }