Tampilkan postingan dengan label HTML. Tampilkan semua postingan
Tampilkan postingan dengan label HTML. Tampilkan semua postingan

Jumat, 22 November 2013

[Lanjutan] Koleksi Google Font API untuk Blogger

Google Web Font LogoPostingan ini merupakan lanjutan Artikel kemaren di Koleksi Google Font API untuk Blogger, Font Google pilihan dari Metro Personal Blog. Dan masih banyak lagi jenis font-font google yang support untuk Blogger, tapi inilah jenis font-font pilihan terbaik versi Metro Personal Blog :). Sebenarnya ribuan jenis font-font Google sih, tapi tidak semuanya Support untuk Blogger.

Google Web Font Logo

Berikut ini beberapa jenis font-font dari google, lanjutan dari postingan kemaren tentang Koleksi Google Font API untuk Blogger, Koleksi Pilihan dari Metro Personal Blog.

PT Sans
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=PT+Sans' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'PT Sans', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'PT Sans', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Actor
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Actor' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Actor', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Actor', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


PT Sans Narrow
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=PT+Sans+Narrow' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'PT Sans Narrow', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'PT Sans Narrow', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Dosis
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Dosis' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Dosis', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Dosis', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Cabin
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Cabin' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Cabin', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Cabin', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Playfair Display SC
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Playfair+Display+SC' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Playfair Display SC', sans-serif;
font-size: 14px;
text-transform: normal;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Playfair Display SC', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Gabungan dua atau tiga jenis Font menghasilkan Font Unik

Google Web Font Logo

Oswald | Ubuntu
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Oswald|Ubuntu' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Oswald', 'Ubuntu', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Oswald', 'Ubuntu', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Source Sans Pro | Oswald
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro|Oswald' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Source Sans Pro', 'Oswald', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Source Sans Pro', 'Oswald', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Cabin | Playfair Display SC
Amazing Metro Personal Blog

Normal Font 14 pixels Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Cabin|Playfair+Display+SC' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Cabin', 'Playfair Display SC', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Cabin', 'Playfair Display SC', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Note :
Untuk penggabungan jenis font-font yang lain, silahkan gabung-gabungkan menurut selera anda, contohnya gabungan jenis font-font diatas (maksimal dua atau tiga jenis font).

Contoh gabungan dua jenis font --> http://fonts.googleapis.com/css?family=Oswald|Ubuntu

Untuk informasi lengkap silahkan kunjungi Google Font API Labs disini dan Visit the Google Font Directory disini atau di Google Webfont disini.

Selamat mencoba.

Koleksi Google Font API untuk Blogger

Koleksi Google Font API untuk BloggerKoleksi Google Font API untuk Blogger - Hi sobat blogger, berikut ini beberapa koleksi Google Font API, pilihan dari Metro Personal Blog, di gunakan untuk mempercantik style tulisan-tulisan blog anda. Silahkan pilih yang mana, sesuai kesukaan anda.

Koleksi Google Font API untuk Blogger

Berbagai macam jenis Font disediakan oleh Google Font API untuk membantu para Web Development dan Blogger untuk meningkatkan kualitas Blog. Font atau jenis Huruf Pilihan Metro Personal Blog di antaranya adalah :

Tangerine
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Tangerine' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Tangerine', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Tangerine', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Open Sans
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Open Sans', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Open Sans', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Montez
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Montez' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Montez', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Montez', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Rochester
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Rochester' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Rochester', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Rochester', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Open Sans Condensed
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Open Sans Condensed', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Open Sans Condensed', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Six Caps
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Six+Caps' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Six Caps', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Six Caps', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Tulpen One
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Tulpen+One' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Tulpen One', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Tulpen One', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Yanone Kaffeesatz
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Yanone+Kaffeesatz' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Yanone Kaffeesatz', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Yanone Kaffeesatz', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Love Ya Like A Sister
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Love+Ya+Like+A+Sister' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Love Ya Like A Sister', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Love Ya Like A Sister', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Oswald
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Oswald' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Oswald', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Oswald', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Meddon
Amazing Metro Personal Blog

Normal Font 12 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Meddon' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Meddon', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Meddon', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Reenie Beanie
Amazing Metro Personal Blog<

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Reenie+Beanie' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Reenie Beanie', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Reenie Beanie', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Dancing Script
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Dancing+Script' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Dancing Script', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Dancing Script', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Calligraffitti
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Calligraffitti' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Calligraffitti', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Calligraffitti', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Pacifico
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Pacifico', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Pacifico', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Kristi
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Kristi' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Kristi', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Kristi', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Zeyada
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Zeyada' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Zeyada', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Zeyada', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Vibur
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Vibur' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Vibur', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Vibur', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Over The Rainbow
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Over+the+Rainbow' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Over The Rainbow', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Over The Rainbow', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Drawing of A New Day
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Dawning+of+a+New+Day' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Drawing of A New Day', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Drawing of A New Day', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Josefin Slab
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Josefin+Slab' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Josefin Slab', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Josefin Slab', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Ubuntu
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Ubuntu', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Ubuntu', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Noto Sans
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Noto+Sans' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Noto Sans', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Noto Sans', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Lato
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Lato', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Lato', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Bitter
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Bitter' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Bitter', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Bitter', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Source Sans Pro
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Source Sans Pro', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Source Sans Pro', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Archivo Narrow
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Archivo+Narrow' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Archivo Narrow', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Archivo Narrow', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Kaushan Script
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Kaushan+Script' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Kaushan Script', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Kaushan Script', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Lobster
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Lobster', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Lobster', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Shadows Into Light
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Shadows+Into+Light' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Shadows Into Light', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Shadows Into Light', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Droid Sans
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Droid Sans', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Droid Sans', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Droid Serif
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Droid+Serif' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Droid Serif', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Droid Serif', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Playfair Display
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Playfair+Display' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Playfair Display', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Playfair Display', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Racing Sans One
Amazing Metro Personal Blog

Normal Font 14 pixels Size Article Post ? Amazing Metro Personal Blog

Tambahkan kode dibawah ini, simpan dibawah kode <head>

<link href='http://fonts.googleapis.com/css?family=Racing+Sans+One' rel='stylesheet' type='text/css'>

Sampel pengintegrasian font ke CSS

Sampel mengintegrasikan font ke CSS di Body Blog :

body {
background: #f0f0ed;
margin: 0;
padding: 0;
font-family: 'Racing Sans One', sans-serif;
font-size: 14px;
color: #333333;
}

Sampel mengintegrasikan font ke CSS di Heading Blog :

#header h1, .post h2, #sidebar-wrapper h2, #comments h4, #bottom h2 {
font-family: 'Racing Sans One', sans-serif;
margin: 0;
padding: 0;
font-size: 40px;
font-weight: 700;
line-height: 1.0em;
color: #333333;
}


Untuk informasi lengkap silahkan kunjungi Google Font API Labs disini dan Visit the Google Font Directory disini atau di Google Webfont disini.

Selamat mencoba.

Sabtu, 12 Oktober 2013

Automatic Background Color different Every Post Blogger

Background ColorAutomatic Background Color different Every Post Blogger - Easy!! Find the code </head> then put the following Javascript code just above the </head>

Background Color

<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=1.5' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
function get_random_color() {
var letters = '0123456789ABCDEF'.split('');
var color = '#';
for (var i = 0; i < 6; i++ ) {
color += letters[Math.round(Math.random() * 14)];
}
return color;
}
$(function() {
$(".post").each(function() {
$(this).css("background-color", get_random_color());
});
});
//]]>
</script>

If you just want to change the color of posts on the main page alone you stay just use conditional tags like the code below:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js?ver=1.5' type='text/javascript'/>
<script type='text/javascript'>
//<![CDATA[
function get_random_color() {
var letters = '0123456789ABCDEF'.split('');
var color = '#';
for (var i = 0; i < 6; i++ ) {
color += letters[Math.round(Math.random() * 14)];
}
return color;
}
$(function() {
$(".post").each(function() {
$(this).css("background-color", get_random_color());
});
});
//]]>
</script>
</b:if>

Display different colors on the background of each posting may be ideal only for Templates with Style Gallery. But there is no harm if you want to try.

Using CSS/HTML to Make a Responsive Website

ResponsiveUsing CSS/HTML to Make a Responsive Website - A website is responsive if it is able to adapt to the screen of the client. In this article, I�ll show you how to easily make a website responsive in three easy steps.

The layout
When building a responsive website, or making responsive an existing site, the first element to look at is the layout. When I build responsive websites, I always start by creating a non-responsive layout, fixed at the default size. For example, CatsWhoCode.com default width is 1100px. When I�m pleased with the non-responsive version, I add media queries and slight changes to my code to make the code responsive. It�s way easier to focus on one task at a time.

When you�re done with your non-responsive website, the first thing to do is to paste the following lines within the <head> and </head> tags on your html page. This will set the view on all screens at a 1�1 aspect ratio and remove the default functionality from iPhones and other smartphone browsers which render websites at full-view and allow users to zoom into the layout by pinching.

<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="true">

It�s now time to add some media queries. According to the W3C site, a media query consists of a media type and zero or more expressions that check for the conditions of particular media features. By using media queries, presentations can be tailored to a specific range of output devices without changing the content itself. In other words, media queries allows your website to look good on all kinds of displays, from smartphones to big screens.

Media queries depends of your website layout, so it�s kinda difficult for me to provide you a ready to use code snippet. However, the code below is a good starting point for most websites. In this example, #primary is the main content area, and #secondary the sidebar.

By having a look at the code, you can see that I defined two sizes: The first have a maximum width of 1060px and is optimized for tablet landscape display. #primary occupies 67% of its parent container, and #secondary 30%, plus a 3% left margin.

The second size is designed for tablet portrait and smaller sizes. Due to the small sizes of smartphones screens, I decided to give #primary a 100% width. #secondary also have a 100% width, and will be displayed below #primary.

As I already said, you�ll probably have to adapt this code a bit to fit the specific needs of your website. Paste it on your site .css file.

/* Tablet Landscape */
@media screen and (max-width: 1060px) {
#primary { width:67%; }
#secondary { width:30%; margin-left:3%;}
}

/* Tabled Portrait */
@media screen and (max-width: 768px) {
#primary { width:100%; }
#secondary { width:100%; margin:0; border:none; }
}

Once done, let�s see how responsive your layout is. To do so, I use this awesome tool created by Matt Kersley.

Medias
A responsive layout is the first step to a fully responsive website. Now, let�s focus on a very important aspect of a modern website: medias, such as videos or images.

The CSS code below will ensure that your images will never be bigger than their parent container. It�s super simple and it works for most websites. Please note that the max-width directive is not recognized by older browsers such as IE6. In order to work, this code snippet have to be inserted into your CSS stylesheet.

img { max-width: 100%; }

Although the technique above is efficient, sometimes you may need to have more control over images and display a different image according to the client display size.

Here is a technique developed by Nicolas Gallagher. Let�s start with the html:

<img src="image.jpg"
data-src-600px="image-600px.jpg"
data-src-800px="image-800px.jpg"
alt="">

As you can see, we used the data-* attribute to store replacement images urls. Now, let�s use the full power of CSS3 to replace the default image by one of the specified replacement images if the min-device-width condition is matched:

@media (min-device-width:600px) {
img[data-src-600px] {
content: attr(data-src-600px, url);
}
}

@media (min-device-width:800px) {
img[data-src-800px] {
content: attr(data-src-800px, url);
}
}

Impressive, isn�t it? Now let�s have a look to another very important media in today�s websites, videos.

As most websites are using videos from third parties sites such as YouTube or Vimeo, I decided to focus on the elastic video technique by Nick La. This technique allows you to make embedded videos responsive.

The html:

<div class="video-container">
<iframe src="http://player.vimeo.com/video/6284199?title=0&byline=0&portrait=0" width="800" height="450" frameborder="0"></iframe>
</div>

And now, the CSS:

.video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}

Once you applied this code to your website, embedded videos are now responsive.

Typography
The last step of this tutorial is definitely important, but it is often neglected by developers when it comes to responsive websites: Typography.

Until now, most developers (including myself!) used pixels to define font sizes. While pixels are ok when your website has a fixed width, a responsive website should have a responsive font. Indeed, a responsive font size should be related to its parent container width, so it can adapt to the screen of the client.

The CSS3 specification included a new unit named rems. They work almost identically to the em unit, but are relative to the html element, which make them a lot easier to use than ems.

As rems are relative to the html element, don�t forget to reset html font size:

html { font-size:100%; }

Once done, you can define responsive font sizes as shown below:

@media (min-width: 640px) { body {font-size:1rem;} }
@media (min-width:960px) { body {font-size:1.2rem;} }
@media (min-width:1100px) { body {font-size:1.5rem;} }

Please note that the rem unit is not recognized by older browers, so don�t forget to implement a fallback. That�s all for today � I hope you enjoyed this tutorial!