pineco.de
CSS attr() Function - Pine
Using attr() function in our stylesheets, we can get any attribute from any HTML element and display it in the ::before or ::after pseudo-element. We can get attributes like the href, which is necessary in the case of anchor tags or custom ones like a data-*. Currently, the attr() is a little bit limited; we …