Kunjungi Blog terbaru saya corkismet - Coretan Kang Ismet - dan tinggalkan jejak sobat disana.

(CSS) Mengenal Property Border

Border yaitu garis pembatas sebuah objek teks atau pun gambar. Berder merupakan salah satu property CSS. Penggunaan border dapat diatur dari segi ketebalan (width), warna (color) gaya/bentuk (style).

Property Border

Color (warna), bisa menggunakan RGB Color, atau Hexadecimal Color
style (gaya/bentuk)
width (ketebalan), menggunakan pixel (px)

Border Style

Syntax untuk border style adalah, none, dotted, dashed, solid, groove, ridge, inset, dan outset.
Supaya lebih jelas silahkan lihat contoh border style berikut kodenya

border: 1px none #0099ff

border: 1px dotted #66ccff

border: 1px dashed #66ccff

border: 1px solid #66ccff

border: 3px double #66ccff

border: 5px groove #66ccff

border: 5px ridge #66ccff

border: 5px inset #66ccff

border: 5px outset #66ccff

Contoh penggunaan dengan RGB Color

border: 8px outset rgb(102, 204, 255)

Untuk mendapatkan update terbaru di Dasbor Blogger, silahkan ikuti Blog ini

1 komentar

1. Komentar ini, diurutkan dari yang terbaru
2. Tinggalkan komentar sesuai topik tulisan
3. Apabila ada pertanyaan diluar artikel silahkan kunjungi Ruang Obrolan.
4. Centang Beri tahu saya untuk mendapatkan notifikasi via Email ketika ada balasan
Masukkan URL Gambar atau Potongan Kode, atau Quote, lalu klik tombol yang kamu inginkan untuk di-parse. Salin hasil parse lalu paste ke kolom komentar.


image quote pre code
  1. Woy PERTAMAX!
    di amankan dulu :)
    - salam damai buat kang ismet! -
Cookie Consent
We serve cookies on this site to analyze traffic, remember your preferences, and optimize your experience.
Oops!
It seems there is something wrong with your internet connection. Please connect to the internet and start browsing again.
AdBlock Detected!
We have detected that you are using adblocking plugin in your browser.
The revenue we earn by the advertisements is used to manage this website, we request you to whitelist our website in your adblocking plugin.
Site is Blocked
Sorry! This site is not available in your country.