as shown in the figure, the elements in the red rectangle are rendered dynamically, so how to add text size, color, layout and other styles dynamically? Do you want to write the style and add the class name first, or how to do it?
the layout drawn up by myself is as follows:
<div class="box">
<ul>
<li></li>
<li></li>
</ul>
<ul>
<li></li>
<li></li>
</ul>
</div>