get rid of gap between divs css code example Example: how to remove gap between divs .parent { display: flex; }