get button on next line next to input field code example Example: have button beside form input form { display: flex; } input[type=text] { flex-grow: 1; }