responsive navigation bar using jquery

thedischordant

New Member
I have a navigation bar which I want to make responsive...when the user resizes the window and the width is less than particular value, the padding of \[code\]<a>\[/code\] tag should change accordingly to accommodate all the \[code\]<li>\[/code\] elements within the current window width...here's my jsfiddle in my example if we make width of widow less than 390px the last elements are coming down...I want to make such that when user goes resizing width of window when its less than 390px, the elements should start getting smaller, may be by changing their left and right padding....so that it will become responsive...I am using jQuery....How can I achieve this?
 
Back
Top