Just use the appropriate media queries in your CSS, eg
@media (max-width: 767px) {
/* CSS goes here */
}
Bootstrap defines the following widths
- Extra small devices (phones, less than 768px)
- Small devices (tablets, 768px and up)
- Medium devices (desktops, 992px and up)
- Large devices (large desktops, 1200px and up)
See http://css-tricks.com/css-media-queries/ for some more information on media queries.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…