What does this CSS property mean : text-indent: -1e+7px;
Any body can explain this CSS property please?
text-indent: -1e开发者_如何学编程+7px;
Thank you.
text-indent alters the start position of the first line of text in a block. The value is an error (CSS doesn't accept scientific notation), probably generated by an automated tool that was given a huge value.
It means -1 times 10 to the power of 7, or -10 000 000. Effectively hiding the text out of the view by moving it 10 million pixels off the screen. As David Dorward noted, this might be the result of some automated tools' number conversion error but could also been done manually as a shorthand for a huge number.
精彩评论