I want to create multiple boxes with background and border with same pattern, So I just have to create boxes nth time or is there any formula which use that regular expression and repeat the same code in html.I want to append child with parent class box.
<div style="border: 1px solid gray;background-color: black;width: 10px;height: 10px "></div>