text-indent 百分比实现自适应布局怎么实现?具体写法怎么写?求大神详细解说。。(正解第一时间采纳)
<!DOCTYPE HTML> <html> <head> <style> .textindent{text-indent: 1100px; height: 30px; line-height: 30px; padding: 10px; position: relative;} .textindent span{ position: absolute; top:10px; right: 10px; } </style> </head> <body> <p class="textindent">15874006673 <span>测试缩进</span></p> </body> </html>