Float inline block. Inline block или flexbox. flex float css'. html размер окна. far размер окна.