以 CSS 設定圖片路徑
border-image-source 屬性在 CSS 中用於設定圖片路徑。你可以嘗試執行以下程式碼來設定圖片路徑 -
示例
即時演示<html>
<head>
<style>
#borderimg1 {
border: 15px solid transparent;
padding: 15px;
border-image-source: url(https://tutorialspoint.tw/css/images/border.png);
border-image-repeat: round;
}
</style>
</head>
<body>
<p id = "borderimg1">This is image border example.</p>
</body>
</html>
廣告
資料結構
網路
RDBMS
作業系統
Java
iOS
HTML
CSS
Android
Python
C 程式設計
C++
C#
MongoDB
MySQL
Javascript
PHP