use css breakpoints on class code example Example: breakpoint css @media only screen and (max-width: 600px) { }