工具推荐

视频效率加速
updream

一键生成高质量推广成片

AniShort
AniShort

AI短剧协同制作平台

立刻MV
立刻MV

低成本歌曲 MV、视频生成

SoundView
SoundView

字幕擦除翻译、配音口型同步

如何缩进文本

实例解析:

text-indent属性用于指定文本块中首行文本的缩进; 允许使用负值,如果值是负数,将第一行左缩进。

可以设置以下的值:

 ● length:定义固定的缩进。默认值:0。    

 ● %:定义基于父元素宽度的百分比的缩进。    

继续学习
||
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>php中文网(php.cn)</title> <style> p {text-indent:50px;} </style> </head> <body> <p>In my younger and more vulnerable years my father gave me some advice that I've been turning over in my mind ever since. 'Whenever you feel like criticizing anyone,' he told me, 'just remember that all the people in this world haven't had the advantages that you've had.'</p> </body> </html>
提交重置代码
章节
课件
捐赠

CSS 代码实例

  • 评论
  • 课件下载
课件暂不提供下载,工作人员正在整理中,后期请多关注该课程~