Y
Hacker News
new
|
ask
|
show
|
jobs
by
evanm
4250 days ago
Couldn't this be reduced by, like, a lot by simply using this CSS3 gem?
height: attr(sata-cp-size px);
2 comments
bennettfeely
4250 days ago
Someday, but right now the support for using 'attr()' function in properties other than 'content' is very poor.
link
nness
4250 days ago
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
)
link
RussianCow
4250 days ago
Yes, once we get to the point where we can stop supporting IE <= 9. :)
link