// Posts Tagged ‘css’

Transparency Gradients using CSS

Posted on: September 19th, 2011 by Ellen No Comments

The latest site I’ve been working on has used gradients, but with one end resulting in transparency. Here’s a quick demonstration of how you get there with CSS. #canvas { background: #FFFFFF; /* Well hello, useless IE! */ background: -moz-linear-gradient( /* Firefox transparency gradient */ center top, rgba(255,255,252,1) 100%, /* Opaque White */ rgba(255,255,252,0.1) 5% /* [...]

Adding an image to a:hover

Posted on: July 13th, 2011 by Ellen No Comments

For the last half hour I’ve been working on adding little stars to the hover on my menu links (About/Portfolio/CV/Contact). It’s now working in Firefox. Here’s how I’ve done it. Created the star in Photoshop (very simply brush use!). Uploaded the star to Media file in WP. Used the following CSS code: li#menu-item-26 a:hover { [...]

Issues with the Site

Posted on: July 12th, 2011 by Ellen No Comments

Couple of problems I’ve been looking at today with regards this site. Firstly, Chrome on Mac OS X seems to hate Typekit (particularly with HTML5). I’m not the only one with this – see a related discussion. Which is unfortunate because it seems there is very little one can do but wait for Typekit to [...]