Dec 27
![]()
In today’s excercise, we are going to adapt some nice styles to the Drupal menu items. There is a widely known CSS technique called sliding doors
which became very popular since it became published. We are going to
spice this a little more with extra hover states and implement sprites
to improve the performance a little. This will involve a little PHP code – overriding a themeable function, and some CSS markup.
Let’s start with a piece of generated html code: 阅读全文 »