set min-width and max-width in source tag in html code example Example: html min width @media (min-width: 1600px) { display: none; }