CSS 動態內容

1.定義動態內容 知識點: 使用 content 屬性可以定義動態內容。用法如下: content :normal | string | attr() | url() | counter() | none; 取值簡單說明如下: normal :默認值。表現與 none 值相同。 string :插入文本內容。 attr():插入元素的屬性值。 url() :插入外部資源,如圖像、音頻、視頻或瀏覽器
相關文章
相關標籤/搜索