Hacker News new | past | comments | ask | show | jobs | submit login

Couldn't this be reduced by, like, a lot by simply using this CSS3 gem?

height: attr(sata-cp-size px);




Someday, but right now the support for using 'attr()' function in properties other than 'content' is very poor.


Correct, attr() for use with anything than the content property is unsupported by most browsers.

(https://developer.mozilla.org/en-US/docs/Web/CSS/attr)


Yes, once we get to the point where we can stop supporting IE <= 9. :)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: