max height in media query code example Example: min and max width media query @media (max-width: 989px) and (min-width: 768px) {}