首页
学习
活动
专区
工具
TVP
发布
精选内容/技术社群/优惠产品,尽在小程序
立即前往
您找到你想要的搜索结果了吗?
是的
没有找到

css常用函数

1. attr() 用来选择元素的属性值,用法:attr(html元素的属性名),正常搭配css content一起使用 html:

css: a:after{content:'('attr(href) '/' attr(name) ')'} 结果: 十(http://a.b.c / attr) 九(htt

02
领券