How To Make A Sliding Menu

Table of contents:

How To Make A Sliding Menu
How To Make A Sliding Menu

Video: How To Make A Sliding Menu

Video: How To Make A Sliding Menu
Video: Slide Out Navigation | HTML, CSS & JavaScript 2024, May
Anonim

One of the most important aspects of website and software development is menu creation. A beautiful sliding menu remains a benchmark for many website owners and programmers. This can be done using CSS and Expression Web tools.

How to make a sliding menu
How to make a sliding menu

Instructions

Step 1

Open Expression Web and go to Manage Style to start creating a sliding menu and press the New Style key. Name the new style Selector ul li. Make sure the generated file has the drop-down.css extension. To create a sliding menu, specify the appropriate position on the screen. Determine the width of each of the menu items and remove unnecessary dots that may be in front of them.

Step 2

Run the Layout option and set the Display attribute. Give it an appropriate Inline value to align on the screen. Set the Float attribute to Left and press the Apply key. Set all the elements of the list to one line. To keep them in a neat order and not overlap, set the Width attribute to Position in the form of 150 px. Make sure all the items in the list are the same size. Remove the dots in front of each element by going to the List attribute and setting the None parameter for the List Style-type. Click "OK" to accept the changes and take effect.

Step 3

Adjust the style and font size for the ul li. Go to Manage Styles and right click on the ul li, choosing Modify Style. You will see the already familiar dialog menu. Go to Font, select Font-family and set this attribute to Helvetica, Arial, Sans-serif. Adjust the font size and set it to 0, 9. Set the Text-transform attribute to Uppercase. In the Height - Position attribute, specify the exact height of the menu items by setting the value to 30 px.

Step 4

Save the file as menu.html when all corrective actions are completed. Test the menu you just created in various applications and browsers to see if it works. As you can see, it is not difficult to create such a menu.

Recommended: