Overflow: no content?

I use Visual Studio 2012 to create a web page, and I set the overflow property of the div element because I thought it would be an easy way to display content if the page is a certain size without using Javascript. It will not work on IE or Firefox, so I looked at its w3schools.com link and it wasn’t listed there either. Why is it in Visual Studio if IE and Firefox do not support it, and this is not this link, and what else more importantly, is there an actual property that does the same thing? (He says that if the contents of an overflow box, then it does not display any contents.)

+4
source share
1 answer

The no-content value for overflow was introduced into this CSS3 module , but there are no known implementations since the beginning of 2013. The working draft is quite outdated, but new values ​​are still present in the draft editor, so it can still be implemented in the specification someday.

I can’t say why this already exists in VS2012, and I don’t know any other way to achieve this effect in pure CSS.

+5
source

All Articles