Я столкнулся со странной проблемой. На экранах среднего размера и только определенных размеров в пределах этой точки останова сетка кажется «разрывающейся», и последний .col перемещается на следующую строку. Вот ссылка на JS Fiddle, которая это показывает.
Вот HTML
Код: Выделить всё
[i][/i]
Mark Locations
Mappy lets you save important locations like home, work, or even where you parked your car!
[i][/i]
View Full Maps
Mappy also lets your look at up-to-date maps of towns, cities, and even the globe!
[i][/i]
Get Directions
Let Mappy guide you where you want to go! Simply enter an address or location and Mappy will find the best route
[i][/i]
Realtime Traffic
Mappy is connected to local traffic updates, so it can always provide the fastest route to avoid jams
Код: Выделить всё
/* CUSTOM PAGE CSS*/
#features {
padding: 20px 0;
text-align: center;
}
#features i.fa {
color: #683814;
font-size: 70px;
}
#features h2 {
color: #DCD39E;
margin: 15px 0;
}
/* PULLED FROM CUSTOM GRID FRAMEWORK */
* {
box-sizing: border-box;
}
.container {
max-width: 1000px;
margin: auto;
padding: 0 20px; /*Adds a tiny bit of padding so that as the container shrinks it does not touch the edge*/
}
/* ROWS */
/* Build clearfix into row */
.row::after {
content: "";
display: block;
clear: both;
}
.row {
margin: 0 -15px; /*Offset the col-* padding*/
}
/* COLS */
/*Mobile First cols*/
[class*="col-"] {
width: 100%;
float: left;
padding: 10px 15px;
}
/*Col Styles For Tablets*/
@media screen and (min-width:600px) and (max-width: 992px) {
.col-md-1 {width: 8.33%;}
.col-md-2 {width: 16.66%;}
.col-md-3 {width: 25%;}
.col-md-4 {width: 33.33%;}
.col-md-5 {width: 41.66%;}
.col-md-6 {width: 50%;}
.col-md-7 {width: 58.33%;}
.col-md-8 {width: 66.66%;}
.col-md-9 {width: 75%;}
.col-md-10 {width: 83.33%;}
.col-md-11 {width: 91.66%;}
.col-md-12 {width: 100%;}
} /*end tablet*/
/*Col Styles For Desktops*/
@media screen and (min-width:993px) {
.col-lg-1 {width: 8.33%;}
.col-lg-2 {width: 16.66%;}
.col-lg-3 {width: 25%;}
.col-lg-4 {width: 33.33%;}
.col-lg-5 {width: 41.66%;}
.col-lg-6 {width: 50%;}
.col-lg-7 {width: 58.33%;}
.col-lg-8 {width: 66.66%;}
.col-lg-9 {width: 75%;}
.col-lg-10 {width: 83.33%;}
.col-lg-11 {width: 91.66%;}
.col-lg-12 {width: 100%;}
} /*End Desktop*/
Подробнее здесь: https://stackoverflow.com/questions/499 ... edium-size
Мобильная версия