Saturday, May 18, 2013

How To Make A Bio Dropdown Box With CSS

How To Make A Bio Dropdown Box With CSS

After I released the most recent Theme Lab redesign, I had a number of comments on the bio dropdown box I have up in my navigation bar. I coded it with just a few lines of CSS along with a background image.

In this CSS tip post, Ill go over how you can have a similar hover effect on your own sites.

The Example

In this example, Ill be using a text widget in the Twenty Eleven theme, the new default as of WordPress 3.2.

Basically, once you hover over the div that contains the widget, a hidden div will appear which will be our bio dropdown box.

Note in the picture to the left, the gray bio box will not appear unless you hover the div containing the Bio Hover heading.

The Selector

It if you lly this is because if you lly this is because if you lly this is because if you lly this is... [via Theme Lab]