sempadan
Bahasa Inggeris [ˈbɔ:də(r)] AS [ˈbɔ:rdə(r)] n tepi vt.& vi sebelah... vt. Sepanjang sisi..., sekeliling..., bersempadan... vi lebih kurang, bersebelahan Orang ketiga tunggal: sempadan Jamak: sempadan Kata participle sekarang: bersempadan Masa lalu. tense: bersempadan Kata laluan: bersempadanimej英[ˈɪmɪdʒ] 美[ˈɪmɪdʒ]
n imej, imaginasi; ; simbolOrang ketiga tunggal: imej Plural: imej Participle sekarang: pengimejan Masa lampau: digambarkan Participle lalu: imejan
harta imej sempadan css sintaks
Fungsi: Atribut singkatan, tetapkan semua atribut imej sempadan-*.
Penerangan: Atribut border-image ialah atribut singkatan yang digunakan untuk menetapkan atribut berikut: border-image-source, border-image-slice, border-image-width, border-image-outset, border-image- ulang . Jika nilai ditinggalkan, nilai lalainya ditetapkan.
Nota: Sila gunakan sifat imej sempadan-* untuk membina butang berskala yang cantik!
harta imej sempadan css contoh
<!DOCTYPE html> <html> <head> <style> div { border:15px solid transparent; width:300px; padding:10px 20px; } #round { -moz-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 round; /* Old Firefox */ -webkit-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 round; /* Safari and Chrome */ -o-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 round; /* Opera */ border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 round; } #stretch { -moz-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 stretch; /* Old Firefox */ -webkit-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 stretch; /* Safari and Chrome */ -o-border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 stretch; /* Opera */ border-image:url(http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg) 30 30 stretch; } </style> </head> <body> <div id="round">在这里,图片铺满整个边框。</div> <br> <div id="stretch">在这里,图片被拉伸以填充该区域。</div> <p>这是我们使用的图片:</p> <img src="http://img.php.cn/upload/article/000/005/656/5af270fd37755429.jpg"> <p><b>注释:</b> Internet Explorer 不支持 border-image 属性。</p> <p>border-image 属性规定了用作边框的图片。</p> </body> </html>
Run Instance »
Klik butang "Run Instance" untuk melihat instance dalam talian