border 颜色渐变

border 颜色渐变_第1张图片

border-right: 1px dashed #fff;background: linear-gradient(to right, rgb(0, 255, 127),rgba(26, 115, 232, 0.953)); background-origin: border-box; width:577px;">
"font-size: 16px; background-color:#fff;">
"border-width: 1px 0px 0px 10px; border-color: rgb(0, 255, 127);border-style: solid;line-height: 34px; font-weight: 700; padding-left:10px; border-image:linear-gradient(to right,rgb(0, 255, 127),rgba(26, 115, 232, 0.953)) 1 10;">报名方式
"line-height: 28px;">
  1. 注册、投稿:
    温州大学老师:aa(同微信
border-bottom: 1px dashed #fff;background: linear-gradient(to right, rgb(0, 255, 127),rgba(26, 115, 232, 0.953)); background-origin: border-box;">

"height:10px; background-color:#fff; margin:0;">

虚线渐变靠背景色,设置边框为白色,然后背景色渐变。之后中间的content 是白色背景

border-right: 1px dashed #fff;background: linear-gradient(to right, rgb(0, 255, 127),rgba(26, 115, 232, 0.953)); background-origin: border-box; width:577px;">
"font-size: 16px; background-color:#fff;"> 虚线渐变

实现渐变靠的是设置边框渐变
border-width: 1px 0px 0px 10px; border-color: rgb(0, 255, 127);border-style: solid; border-image:linear-gradient(to right,rgb(0, 255, 127),rgba(26, 115, 232, 0.953)) 1 10;"

你可能感兴趣的:(CSS)