
欢迎关注路条编程的公众号,通过学习应用视觉设计这一系列文章,你将会逐步掌握页面版式、色彩、图形、动画和布局相关的基础知识。
值 描述none 没有文本装饰效果underline 在文本的下方有一条装饰线,简称下划线overline 在文本的上方有一条修饰线,简称上划线line-through 有一条贯穿文本中间的修饰线,简称删除线blink 文本闪烁(文本交替处于显示与隐藏状态)
<style type="text/css">.lighter {font-weight: lighter;text-decoration: underline overline line-through;}</style>
<style type="text/css">.fw-100 {font-weight: 100;text-decoration: underline;}.fw-300 {font-weight: 300;text-decoration: line-through;}.fw-900{font-weight: 900;text-decoration: overline;}.lighter {font-weight: lighter;text-decoration: underline overline line-through;}</style>

重要提示:示例效果预览,请访问 https://www.icoderoad.com , 完整代码查看及下载,请访问 https://github.com/icoderoad/demo。
今天就讲到这里,如果有问题需要咨询,大家可以直接留言或扫下方二维码加入学习社群,我们会尽力为你解答。



作者:路条编程(转载请获本公众号授权,并注明作者与出处)
文章转载自路条编程,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




