CSS3 Border Radius for Hover States

July 14th, 2010

One of the huge benefits to using CSS3 is the ability to create image-like effects without the use of images. CSS3 gradients, shadows, and rounded corners have helped designers greatly in this area.

While browsing the website of well-known web hosting company Media Temple, I stumbled upon their Labs page and noticed they’re using a block hover effect on the list of items, and the hover state uses (what I assume is) the border-radius property when the background becomes visible.

Incoming search terms for the article:

Tags: , , , , , , , , , , , ,

Imitating the WordPress Comment Backend

June 17th, 2010

I think most of you have probably seen the WordPress Ajax comment management backend. Well, let’s imitate it with jQuery. In order to animate the background color, you need include the Color Animations plugin. (view demo)

First line: will add “alt” class to even <div class=”pane”> (to assign the grey background on every other <div >)
Second part: when <a> is clicked, alert a message, and then animate the backgroundColor and opacity of <div>

Incoming search terms for the article:

Tags: , , , , , , , , ,