only screen css code example Example: css media screen @media (max-width: 991px){ .mobile{ display: block; } }