I am trying to do some responsive fix - Currently I have a list somthing like this:
<ul>
<li>666</li>
<li>555</li>
<li>444</li>
<li>333</li>
<li>222</li>
<li>111</li>
</ul>
If the screen size is less then 767px, I like it to change the order like this :
<ul>
<li>111</li>
<li>222</li>
<li>333</li>
<li>444</li>
<li>555</li>
<li>666</li>
</ul>
And fix them back to current state if the size increases.
I understand that this cannot be done through CSS media query, I need your help fixing it through jQuery.
Thanks for your help in advance.