Como fazer - Flutuantes responsivos
Aprenda a criar elementos flutuantes responsivos com CSS.
Flutuadores responsivos
Use consultas de mídia e defina a largura de tela especificada (em pixels) para quando o elemento deve flutuar:
Exemplo
/* Float to the right on screens that are equal to or less than 768px wide */
@media (max-width: 768px) {
.float-right-sm {
float: right;
}
}
/* Float to the right on screens that
are equal to or greater than 769px wide */
@media (min-width: 769px) {
.float-right-lg {
float: right;
}
}
Dica: Saiba mais sobre floats em nosso tutorial CSS Float .