internet explorer 8 - What is the correct usage of CSS attr function? -


Since this function has been implemented in IE8, I want to see what I can do with it, but I Having trouble css after pseudo elements: Before and: To work somewhere else besides this. Should the following be allowed?

  span [color] {color: art (color); }  

I also used it in Google Chrome, but it does not work. Also, what about more dynamic things:

  input [value = attr] (default)] {color: gray; }  

In CSS 2.1 (which should be used these days) the function is a bit Limited in what it can do The only place where it can be seen is an asset on it. Its sole purpose is to generate content .

In CSS 3, that etir can return only strings (compared to other types) and it can also be used for other properties.

But keep in mind that most CSS 3 recommends a candidate with very few features ( not including prices and units ). Support of user agents for CSS 3 features varies next to currently limited and non-existent. Most browser vendors have to fight bored by implementing "cool stuff" such as spherical borders, text shadow, etc., which means that there is not much work to support it. But what you were seeing here is definitely beyond and the WD situation will not change in the near future. So do not expect it to be implemented anywhere.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

Visual Studio 2005: How to speed up builds when a VSMDI is open? -

booting ubuntu from usb using virtualbox -