<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                ## border-image 屬性 ## 定義和用法 border-image 屬性是一個簡寫屬性,用于設置以下屬性: * border-image-source * border-image-slice * border-image-width * border-image-outset * border-image-repeat 如果省略值,會設置其默認值。 提示:請使用 border-image-\* 屬性來構造漂亮的可伸縮按鈕! JavaScript 語法:object.style.borderImage="url(border.png) 30 30 round" ## 可能的值 | 值 | 描述 | 測試 | | --- | --- | --- | | *border-image-source* | 用在邊框的圖片的路徑。 | ? | | *border-image-slice* | 圖片邊框向內偏移。 | ? | | *border-image-width* | 圖片邊框的寬度。 | ? | | *border-image-outset* | 邊框圖像區域超出邊框的量。 | ? | | *border-image-repeat* | 圖像邊框是否應平鋪(repeated)、鋪滿(rounded)或拉伸(stretched)。 | [測試](https://www.w3cschool.cn/statics/demosource/css-border-image.html) | ## 實例--[Border-image 按鈕](https://www.w3cschool.cn/tryrun/showhtml/trycss_border-image_button) ``` <!DOCTYPE html> <html> <head> <title>W3Cschool(w3cschool.cn)</title> <style> div { border:10px solid transparent; width:40px; padding:5px 10px; -moz-border-image: url(/statics/demosource/border_image_button.png) 0 14 0 14 stretch; /* 老版本的 Firefox */ -webkit-border-image: url(/statics/demosource/border_image_button.png) 0 14 0 14 stretch; /* Safari */ -o-border-image: url(/statics/demosource/border_image_button.png) 0 14 0 14 stretch; /* Opera */ border-image: url(/statics/demosource/border_image_button.png) 0 14 0 14 stretch; } </style> </head> <body> <p><b>注釋:</b>Internet Explorer 不支持 border-image 屬性。</p> <div>Search</div> <p>這是我們使用的圖片:</p> <img src="/statics/demosource/border_image_button.png"> </body> </html> ``` 將圖片規定為包圍 div 元素的邊框: ~~~ div { -webkit-border-image:url(border.png) 30 30 round; /* Safari 5 */ -o-border-image:url(border.png) 30 30 round; /* Opera */ border-image:url(border.png) 30 30 round; } ~~~
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看