-2
Guys how can I make a div push the others to the side when the size of it increases my code is this
<div>preço do produto</div>
<div>outro texto</div>
<div>outro texto</div>
In other words, these Divs are on the same line, I want to know how one can push the other to the side when its size increases
You can use media queries.
– Franklin Barreto
If you are using bootstrap, just use the grid system, which consists of rows and columns. https://getbootstrap.com/docs/4.0/layout/grid/
– Wandersom Moura
Guy if your question is about CSS at least should have the CSS code you tried there, or at least a minimal model that to simulate your situation
– hugocsl