You would have to use the media tag. Please read: https://www.w3schools.com/css/css_rwd_mediaqueries.asp