Use Media querys or incase of framework use the relevent class
standard Media Query Sizes
320px — 480px: Mobile devices.
481px — 768px: iPads, Tablets.
769px — 1024px: Small screens, laptops.
1025px — 1200px: Desktops, large screens.
1201px and more — Extra large screens, TV.
Example of bootstrap framework
col-xs for smaller Mobile phone (devices with resolutions < 576px);
col-sm for larger mobile phones (devices with resolutions ≥ 576px);
col-md for tablets (≥768px);
col-lg for laptops (≥992px);
col-xl for desktops (≥1200px)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…