Archive for the ‘CSS3’ Category

Articles

what is really css3 box-shadow

In CSS3 on June 17, 2012 by patrellery Tagged:

most people still create crappy images for shadows. so to make it simple, and easy let’s just use the shadow properties:

div
{
box-shadow: 10px 10px 5px #888888;
}

so what this really means:
Read More »

Advertisements

Articles

Custom @Font-Face in CSS3

In CSS3 on November 24, 2011 by patrellery Tagged:

Here’s a quick tip on how to display fonts in your page:

Download the font: http://www.fontsquirrel.com/fonts/Hattori-Hanzo

And use this code in your CSS file:

@font-face {
font-family: 'HattoriHanzoLight';
src: url('hattori_hanzo.otf') format('opentype');
font-weight: normal;
font-style: normal;
}

Then in your HTML:

some content!