I am a beginner when it comes to CSS and I have a question.
Is there a way to dynamically position a div element based on the length of a previous div element?
For example:
<div id="A">
</div>
<div id="B">
</div>
<div id="C">
</div>
If these div elements are full width each, is it possible for one div to come after the other based on the length of the previous one without manually adjusting the top property?
Is there a specific top value that can be used to achieve this?
Thank you in advance for your help!