@media only screen and (max-width: 959px) {} /*tablets, netbooks*/ @media only screen and (max-width: 768px) and (max-width: 959px){} /*portrait or landscape tablets/netbooks*/ @media only screen and (max-width: 480px) and (max-width: 767px) {} /*mobile landscape to tablet portrait*/ @media only screen and (max-width:479px) {} /*mobile up to landscape mode*/