1. border-width, (luas/tebal garisan kurungan)
2. border-style, dan (cara border, contoh: titik, Solid, putus2)
3. border-color properties. (warna border)
Contoh;
hasil;
Test ini telah disuaikan dengan menggunakan border-width,
border-style, dan border-color properties.
Cara tulis kod border tadi (brder-width, border-style, border-colour) guna satu kod ringkas.
hasilnya;
This text has border styles applied using the border property.
Style atau jenis2 border
hasil;
This text has a border style of 'solid'.
This text has a border style of 'dotted'.
This text has a border style of 'dashed'.
This text has a border style of 'double'.
This text has a border style of 'groove'.
This text has a border style of 'ridge'.
This text has a border style of 'inset'.
This text has a border style of 'outset'.
Setting Borders for Each Side
Kalau nak beberapa tempat sahaja yg terkesan dgn borde,gna kod ni:
* border-bottom-color (warna border dibawah sahaja)
* border-bottom-style (style atau jenis border bawah sahaja)
* border-bottom-width (lebar border bawah sahaja)
Kiri sahaja
* border-left-color
* border-left-style
* border-left-width
Kanan sahaja
* border-right-color
* border-right-style
* border-right-width
Atas sahaja
* border-top-color
* border-top-style
* border-top-width
0 comments:
Post a Comment
komen anda sangat dialu-aluan