Return to Snippet

Revision: 25916
at June 8, 2010 06:18 by alexandrepayet


Updated Code
@font-face {
    font-family: Bickham;
    src: url('times_new_yorker.ttf');
}

/*voici une version plus complète d'utilisation de @font-face*/
@font-face {
  font-family: Cantarell;
  font-style: normal;
  font-weight: normal;
  src: local('Cantarell'), url('../fonts/cantarell.ttf') format('truetype');
}
		
body{
	
    background: #336688;	
	
    font-family: Bickham, serif; /*ATTENTION la propriete font-family doit toujours faire reference egalement a  une famille par defaut comme : sans-serif, serif ou encore monospace*/
    font-size: 4em;
}

Revision: 25915
at April 14, 2010 03:08 by alexandrepayet


Initial Code
@font-face {
	font-family: Bickham;
	src: url('times_new_yorker.ttf');
}
		
body{
	
	background: #336688;	
	
font-family: Bickham, serif; /*ATTENTION la propriété font-family doit toujours faire reference également à une famille par defaut comme : sans-serif, serif ou encore monospace*/
	font-size: 4em;
}

Initial URL


Initial Description


Initial Title
CSS :  @font-face

Initial Tags
web, CSS3

Initial Language
CSS