I have a list of items and it will take up two lines or more.
When it gets longer than the width of the div, it wraps to the next line like the example below.
How can I make the second line to start in alignment with Item1 and can be done responsively?
ul li {
display: inline-block;
}
<ul>
<li><strong>List of items:</strong></li>
<li><a href="#">Item1</a></li>
<li><a href="#">Item2</a></li>
<li><a href="#">Item3</a></li>
<li><a href="#">Item4</a></li>
<li><a href="#">Item5</a></li>
<li><a href="#">Item6</a></li>
<li><a href="#">Item7</a></li>
</ul>