Quantcast
Channel: professional website design » @font-face
Viewing all articles
Browse latest Browse all 31

Create a Quick, Sticky Menu

$
0
0
During this quick tutorial we’re going to implement a sticky menu with CSS, toggling its visibility with jQuery. It’s the perfect way to give visitors social links, additional places within a network of sites, or even personalize settings. Step 1: Setting up the Page Let’s start out by making a basic HTML page. We’ll load CSS into the , then jQuery (at the bottom of the document) for the toggle animation. Sticky Menu Step 2: Filling up the Page Now let’s create some structural elements. List Item 1 List Item 2 List Item 3 We will use the data-icons attribute to specify our font icons. The font icons will be used to effectively decorate our main menu items. Font glyphs can be scaled and colored without loss of resolution, whereas using bitmap images offer less flexibility.

Viewing all articles
Browse latest Browse all 31

Trending Articles