how to make content responsive in polymer?

91 views
Skip to first unread message

Peng Kim

unread,
Apr 15, 2015, 1:59:48 AM4/15/15
to polym...@googlegroups.com


i have a problem dealing with responsive UI in polymer,when stretch or narrow the browser,content will auto adjust its width,but mine isn't,something like this:




polymer website  full widht:

narrow width:

but mine is :

what is the tricky in polymer,how to use polymer features to accomplish this?


toduu

unread,
Apr 17, 2015, 4:59:20 AM4/17/15
to polym...@googlegroups.com
Use <div flex> and horizontal vertical layout switching see - https://www.polymer-project.org/0.5/docs/polymer/layout-attrs.html 

Peng Kim

unread,
Apr 18, 2015, 4:51:56 AM4/18/15
to polym...@googlegroups.com
Thanks,i have solved my problem :P
Reply all
Reply to author
Forward
0 new messages