text-decoration属性作用和方法


  1. text-decoration-line(注释文本添加一条装饰线):none(文本中没有线条)、

                                         underline(文本的下方显示一条线)、

                                         overline(文本的上方将显示一条线)、

                                         line-through(文本的中间将显示一条线)

  1. text-decoration-color(装饰线添加颜色): #000000
  2. text-decoration-thickness(装饰线粗细):0.1em;
  3. text-underline-offset(装饰线向下移动): 0.6em;
  4. transition-duration(完成过渡效果需要多少秒):0.5s
  5. text-decoration-style(装饰线的形态):solid(单线)、double(双线)、dotted(点状线)、dashed(虚线)、wavy(波浪线)

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM