更新时间:2022-12-25 14:43:42
是的,它是相对于 .css
示例布局:
Page: page.htm ... does not matter where
CSS: /resources/css/styles.css
Image: /resources/images/image.jpg
c $ c> styles.css :
CSS in styles.css
:
div { background-image: url('../images/image.jpg');