Skip to content

Instantly share code, notes, and snippets.

@contolini
Created May 17, 2018 16:03
Show Gist options
  • Save contolini/712efa1dbf45f47c6adafab09474b58c to your computer and use it in GitHub Desktop.
Save contolini/712efa1dbf45f47c6adafab09474b58c to your computer and use it in GitHub Desktop.

Current layout

<li>
    <h5>SUBPART A</h5>
    <a>1005.1</a>
</li>
<li>
    <a>1005.2</a>
</li>
<li>
    <h5>SUBPART B</h5>
    <a>1005.30</a>
</li>
<li>
    <a>1005.31</a>
</li>

Preferred layout

<button>SUBPART A</button>
<div>
    <a>1005.1</a>
    <a>1005.2</a>
</div>
<button>SUBPART B</button>
<div>
    <a>1005.30</a>
    <a>1005.31</a>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment