Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this CSS property mean : text-indent: -1e+7px;

Tags:

css

Any body can explain this CSS property please?

text-indent: -1e+7px;

Thank you.

like image 698
Just a learner Avatar asked Dec 03 '25 08:12

Just a learner


2 Answers

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.

like image 88
Quentin Avatar answered Dec 06 '25 00:12

Quentin


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.

like image 43
Tatu Ulmanen Avatar answered Dec 06 '25 01:12

Tatu Ulmanen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!