MANISNYA FONT ROBOTO - CARA PASANG DAN PENGGUNAAN
Baru-baru ini saya mengganti font jelasinblog dengan font tipe Roboto. Ini adalah font yang digunakan oleh Google pada OS Android dan juga di situs Google Play Store. Font ini mirip dengan Arial tetapi lebih mirip lagi dengan Helvetica sehingga ada yang mengatakan Roboto adalah Helvetica versi Google. Bahkan sebagian mereka mengatakan Google mungkin akan menghadapi tuntutan pengadilan karena hal ini.

Terlepas dari itu semua, bagi saya Roboto adalah Helvetica yang disempurnakan. 

Bagi Anda yang tertarik silahkan ikuti tutorial cara memasang font Roboto di blog. Tanpa buang-buang waktu mari kita mulai!

Cara Memasang font Roboto


Mula-mula letakkan URL font Roboto dalam tag <head>, mudahnya letakkan saja tepat di atas tag </head>. Copy-paste URL lengkapnya sebagai berikut.

<style type="text/css">@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Thin'), local('Roboto-Thin'), url(//fonts.gstatic.com/s/roboto/v14/vzIUHo9z-oJ4WgkpPOtg1_esZW2xOQ-xsNqO47m55DA.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Light'), local('Roboto-Light'), url(//fonts.gstatic.com/s/roboto/v14/Hgo13k-tfSpn0qi1SFdUfT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Regular'), local('Roboto-Regular'), url(//fonts.gstatic.com/s/roboto/v14/2UX7WLTfW3W8TclTUvlFyQ.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  src: local('Roboto Medium'), local('Roboto-Medium'), url(//fonts.gstatic.com/s/roboto/v14/RxZJdnzeo3R5zSexge8UUT8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Bold'), local('Roboto-Bold'), url(//fonts.gstatic.com/s/roboto/v14/d-6IYplOFocCacKzxwXSOD8E0i7KZn-EPnyo3HZu7kw.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 100;
  src: local('Roboto Thin Italic'), local('Roboto-ThinItalic'), url(//fonts.gstatic.com/s/roboto/v14/12mE4jfMSBTmg-81EiS-YRsxEYwM7FgeyaSgU71cLG0.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 300;
  src: local('Roboto Light Italic'), local('Roboto-LightItalic'), url(//fonts.gstatic.com/s/roboto/v14/7m8l7TlFO-S3VkhHuR0at4bN6UDyHWBl620a-IRfuBk.woff) format('woff');
}
@font-face {
  font-family: 'Roboto';
  font-style: italic;
  font-weight: 400;
  src: local('Roboto Italic'), local('Roboto-Italic'), url(//fonts.gstatic.com/s/roboto/v14/1pO9eUAp8pSF8VnRTP3xnvesZW2xOQ-xsNqO47m55DA.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 100;
  src: local('Roboto Slab Thin'), local('RobotoSlab-Thin'), url(//fonts.gstatic.com/s/robotoslab/v6/MEz38VLIFL-t46JUtkIEgCeJLMOzE6CCkidNEpZOseY.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 300;
  src: local('Roboto Slab Light'), local('RobotoSlab-Light'), url(//fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJR_xHqYgAV9Bl_ZQbYUxnQU.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 400;
  src: local('Roboto Slab Regular'), local('RobotoSlab-Regular'), url(//fonts.gstatic.com/s/robotoslab/v6/y7lebkjgREBJK96VQi37ZobN6UDyHWBl620a-IRfuBk.woff) format('woff');
}
@font-face {
  font-family: 'Roboto Slab';
  font-style: normal;
  font-weight: 700;
  src: local('Roboto Slab Bold'), local('RobotoSlab-Bold'), url(//fonts.gstatic.com/s/robotoslab/v6/dazS1PrQQuCxC3iOAJFEJTqR_3kx9_hJXbbyU8S6IN0.woff) format('woff');
}</style>
[next]

Penggunaan font Roboto dalam CSS

Setelah Anda meletakkan URL lengkap sekarang mari kita terapkan pada CSS agar font blog Anda berubah menjadi Roboto. Contoh, penerapan pada judul artikel Jelasinblog saat ini (H1):

.ll-post-index-page h1 {
    font-size: 28px;
    font-family: "Roboto Slab",Arial,sans-serif;
    font-style:normal;
    font-weight: 400;
}
Beberapa contoh penggunaan (DEMO).

CSS: 
.apapun {
  font-family: 'Roboto';
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

CSS: 
.apapun {
  font-family: 'Roboto';
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

CSS: 
.apapun {
  font-family: 'Roboto';
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

CSS: 
.apapun {
  font-family: 'Roboto Slab';
  font-size: 24px;
  font-style: italic;
  font-weight: 100;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

CSS: 
.apapun {
  font-family: 'Roboto Slab';
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

CSS: 
.apapun {
  font-family: 'Roboto Slab';
  font-size: 24px;
  font-style: normal;
  font-weight: 700;
}
Hasilnya: Manisnya Font Roboto - Cara Pasang dan Penggunaan

Selesai, selamat mencoba manisnya font Roboto :) 
Mungkin Anda tertarik juga membaca artikel terkait: Setiap Artikel Blog Beda Font.

Manisnya Font Roboto - Cara Pasang Dan Penggunaan

Post a Comment

Author Name

{picture#https://1.bp.blogspot.com/-pjcoLknql7Y/Vw9GwQNYh1I/AAAAAAAABF0/JOblfQgOWp0i8DbA8x2_Yl7STIu6RmGPgCKgB/s1600/Turiswan.png} " Jangan berharap sesuatu yang besar dengan tiba-tiba, mulailah dari yang terkecil dan gapailah semua harapan dengan sungguh-sungguh disertai kerjakeras dan do'a. " {facebook#http://www.facebook.com/turiswan22gtr} {twitter#http://twitter.com/turiswan2298} {google#https://plus.google.com/u/0/106442727760269580008/posts} {pinterest#http://www.pinterest.com/turiswan} {youtube#http://www.youtube.com/channel/UCJL-dLtQyZ_uQx7B3-vThjA?sub_confirmation=1} {instagram#http://instagram.com/turiswan2298}

Sevida Premium Responsive Magazine Blogger Template

Sevida Premium Responsive Magazine Blogger Template Sevida is the premium responsive blog and magazine template for Blogger fans. This template shows you how cool and flexible Blogspot magazine template can be.

Maxxiz - Responsive Magazine/News Blogger Template

Maxxiz - Responsive Magazine/News Blogger Template Maxxiz a blogger theme with responsive layout. Its High User Friendly Blogger Template. Its design simple and clean and perfect for magazine or portofolio websites. With an attractive color combination and impressed professionals and has many features.

Adamz Premium Responsive Blogger Template

Adamz Premium Responsive Blogger Template Adamz a blogger theme with responsive layout. This theme has a design that is perfect for magazine websites. With an attractive color combination and impressed professionals and has many features.

Ijonkz - Responsive Magazine/News Blogger Template

Ijonkz - Responsive Magazine/News Blogger Template Ijonkz a blogger theme with responsive layout and two style Boxed or Full width. Its High User Friendly Blogger Template. Its design simple and clean and perfect for News, Magazine or portofolio websites. With an attractive color combination and impressed professionals and has many features.

Rifqiy - Responsive Magazine/News Blogger Template

Rifqiy - Responsive Magazine/News Blogger Template Rifqiy a blogger theme with responsive layout. This theme has a design that is perfect for magazine or portofolio websites. With an attractive color combination and impressed professionals and has many features.

Syahira Premium Responsive Blogger Template

Syahira Premium Responsive Blogger Template Syahira a blogger theme with responsive layout. Its High User Friendly Blogger Template. Its design simple and clean and perfect for magazine or portofolio websites. With an attractive color combination and impressed professionals and has many features.

Contact Form

Name

Email *

Message *

Powered by Blogger.