attr ( )### CSS表达式attr( ) 用来获取选择到的元素的某一HTML属性值, ... top: 20px; } .tooltip:hover::after { content: attr(data-tooltip); ...
確定! 回上一頁