3👍
✅
make them an in-line element.
Div’s aren’t usually in-line elements so either change the div to an in-line element or alter the div in the css.
display: inline-block;
Please provide a jsfiddle if you want more guidance.
Source:stackexchange.com