CSS Outline

Outline (garis terluar, garis diluar, garis keluar, sama saja dan gak penting) dikenalkan pada versi CSS2.


Nano hanya memberi contoh-contohnya saja, karena properti outline sama dengan properti border. Yang perlu anda lakukan hanya mengganti border dengan outline.


Contoh :

h1{
outline-style:dotted;
outline-width:3px;
outline-color:yellow;
}
h2{
outline:5px dashed #ff0000;
}

Jika border dan outline digabungkan akan seperti diatas.

Alhamdulillah

0 comments:


Posting Komentar


Creative Commons License
CSS Outline by Nano Yulianto is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at http://nanoyulianto.blogspot.com/2010/12/css-outline.html.
Permissions beyond the scope of this license may be available at http://nanoyulianto.blogspot.com/.