![]() This can be achieved by using CSS3 media queries. ![]() In such scenario you may still want them to display nicely as if they are in a table. If the menu has a 100% width, the menu items will wrap to multiple lines when the screen size is smaller (such as tablets). Keep the menu a nice look when wrapping to multiple lines.Margin: 0 auto /*make the menu center-aligned*/ You can easily resolve this by giving the UL a max-width style. The menu not to be 100% wide in a wide desktop screen.How to Create Mobile-friendly Responsive Menuīasically when you have set the UL width to be 100% through the CSS builder on Menucool's ddmenu page, you get a responsive menu that will adapt its layout to the screens.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |