#Inside the child element .child { align-self: stretch; } #Inside the parent(Flexbox) .parent { justify-content: stretch; }