Pages

 
 
Sunday, January 18, 2015

Scroll Box Color

alaman ini berisi kode warna kotak gulir. Jangan ragu untuk copy dan paste kode warna kotak scroll ke situs web Anda sendiri, blog, halaman MySpace, atau dokumen HTML lainnya. Dan merasa bebas untuk memodifikasi kode yang Anda inginkan.

Juga, silakan mempertimbangkan menjaga link kembali ke website ini - jika Anda melakukannya akan sangat dihargai!

Ketika Anda membuat kotak scroll HTML Anda, Anda dapat memilih untuk menampilkan mereka dalam berbagai warna. Kode contoh berikut menunjukkan cara mengubah warna kotak gulir Anda, teks yang masuk ke dalam scrollbox, dan scrollbar sebenarnya.

Scroll Box Kode Warna

Contoh ini mengubah warna kotak gulir. Hal ini dilakukan dengan menggunakan properti CSS background-color. Dalam hal ini, kita menggunakan background-color: GreenYellow

Scroll Box Color Code
Here's a demonstration of how to change the background color of a scroll box. To change the background color, we use the CSS 'background-color' property.
<div style="border:1px solid black;width:150px;height:150px;overflow:scroll;background-color: GreenYellow;">
<p>Here's a demonstration of how to change the background color of a scroll box. To change the background color, we use the CSS 'background-color' property.</p>
</div>

Scroll Box - Text Color
Here's a demonstration of how to change the text color of a scroll box. To change the text color, we use the CSS 'color' property.
<div style="border:1px solid black;width:150px;height:150px;overflow:scroll;background-color: GreenYellow;color: DarkOrange;">
<p>Here's a demonstration of how to change the text color of a scroll box. To change the text color, we use the CSS 'color' property.</p>
</div>

Scroll Bar Color
Here's a demonstration of how to change the scroll bar color of a scroll box. To change the scroll bar color, we use the (non-standard) CSS 'scrollbar-base-color' property.
<div style="border:1px solid black;width:150px;height:150px;overflow:scroll;background-color: GreenYellow;color: DarkOrange;scrollbar-base-color: ForestGreen;">
<p>Here's a demonstration of how to change the scroll bar color of a scroll box. To change the scroll bar color, we use the (non-standard) CSS 'scrollbar-base-color' property.</p>
</div>

0 komentar:

Post a Comment

Updates Via E-Mail