How to make yui2 responsive

85 Views Asked by At

I am using yui2 (I know it is archived now but I had hands on experience with this version and did not have time to learn yui3 due to tight deadline) in some of the pages of my project.The pages without yui listing are made responsive for mobile view using responsive css.But now the pages with yui2 design are not responsive.I want to know if I can add lines of code so that it can become responsive.Please help.

2

There are 2 best solutions below

2
Devasatyam On

YUI or not, you can use Pure CSS grids: http://purecss.io/grids/#pure-responsive-grids

0
JG1991 On

I found the solution: follow steps given here:https://css-tricks.com/responsive-data-tables/

in the css provided replace table,td etc with #uryuidivname table,#urdivname td