November 25, 2009 0

May the type gods be with us

By admin in css

A little CSS snippet is about to change the face of the web as we know it. May the type gods be with us and lead our humble ways …

@font-face {
  font-family: "Your typeface";
  src: url("type/filename.eot");
  src: local("Alternate name"), local("Alternatename"),
    url("type/filename.woff") format("woff"),
    url("type/filename.otf") format("opentype"),
    url("type/filename.svg#filename") format("svg");
  }
@font-face {
  font-family: "Your italic typeface";
  src: url("type/filename-ital.eot");
  src: local("Alternate name"), local("Alternatename"),
    url("type/filename-ital.woff") format("woff"),
    url("type/filename-ital.otf") format("opentype"),
    url("type/filename-ital.svg#filename-ital") format("svg");
  }
h2 { font-family: "Your typeface", Georgia, serif; }
h2 em { font-family: "Your italic typeface", Georgia, serif; }
em { font-style: italic; }

Tags:

September 10, 2009 0

Random observations about art VS design

By admin in design

A potpourri of wisdom on the differences between art and design.

Tags: , ,

September 10, 2009 0

Dynamic CSS grid system the old-school way

By admin in css

PHP script to dynamically generate a flexible CSS grid system.

Tags: , ,