CSS Layout Generator
This generator will create a fluid or fixed width column layout, with up to 3 columns + header, footer and menu.
Generate a responsive CSS menu with this handy tool. This generator will assist you in creating a new CSS menu for your webpage. Update any properties below to visually see the changes to the menu. All code is generated automatically, just copy and paste into your project.
With Thanks: A big thank you to CSSPortal for letting us use the code to their menu generator.
⮞ Responsive menu - code generated will now be responsive.
⮞ Design your own menu - Click on Menu Design below and you'll be able to add or delete menu items from the menu.
⮞ Rearrange the order of the menu.
⮞ Added - select from different dropdown arrows for the submenus.
⮞ Download Menu - click on the icon to download your menu. (May not work in all browsers)
Open — submenus are always visible when the mobile menu is open.
Collapsed — submenus are hidden; tap a parent item to expand.
Edit a label or link, drag to reorder, or use the arrow buttons. Deleting an item also deletes its submenu items.
A placeholder logo is shown. Upload your own image to replace it.
PNG, JPG, GIF, WebP or SVG, up to 500 KB. The image is added to your code, so nothing is uploaded to our servers.
Everything is worked out in your browser. The preview runs in a sandbox, so it cannot affect this page.
Design your menu with the settings below the preview, then copy the code into your own website.
On screens up to 768px wide the links collapse into a hamburger button. Collapsed submenus open when you tap their parent item.
Dropdowns open when a link is focused, and Escape closes the mobile menu.
Only http, https, mailto, tel and links on your own site are allowed. Replace the # placeholders with your real pages.
No. The menu is plain HTML and CSS, plus a short piece of JavaScript for the mobile hamburger button. There is nothing to install.
Put the HTML where you want the menu to appear, the CSS in your stylesheet (or in a <style> tag) and the JavaScript just before the closing </body> tag. The All-in-one tab shows all three together in a single page.
This generator makes a menu with one level of dropdown submenus under each top-level item.
No. The image stays in your browser and is placed in the generated HTML as a data URL. Because of that, large images make the code very long, so the limit is 500 KB. For a live site you may prefer to replace the src with a link to the image file.
The preview is the real menu, so it follows its own responsive rules. If your screen or window is narrower than 769px, even the Desktop preview uses the mobile layout.
This generator will create a fluid or fixed width column layout, with up to 3 columns + header, footer and menu.
Easily generate CSS grid layout. This grid generator will include footer, header and columns.
Easily create CSS gradients using this online generator. You'll be able to create either linear or radial gradients.
Is your CSS code getting too big? Optimize and reduce the size of your code with this CSS code optimizer.