css中word-spacing属性的作用是什么?

时间:2024-10-20 07:38:00

1、新建一个html文件,命名为test.html,用于讲解css中word-spacing属性的作用是什么。

css中word-spacing属性的作用是什么?

2、在test.html文件中,使用div标签创建一行英文,用于测试。

css中word-spacing属性的作用是什么?

3、在css标签内,设置div内英文单词之间的距离为20px。

css中word-spacing属性的作用是什么?

4、在浏览器打开test.html文件,查看结果。

css中word-spacing属性的作用是什么?
© 手抄报圈