css实现光线滚动条效果代码
代码语言:html
所属分类:加载滚动
代码描述:css实现光线滚动条效果代码,像探照灯一样将滚动的文字区域照亮。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en" > <head> <meta charset="UTF-8"> <style> @property --scroll-y-position { syntax: "<percentage>"; initial-value: -10%; inherits: false; } @property --reflection-y-position { syntax: "<percentage>"; initial-value: -50%; inherits: false; } @property --scrollbar-color { syntax: "<color>"; inherits: false; initial-value: transparent; } @property --opacity-1 { syntax: "<number>"; inherits: false; initial-value: 0.1; } @property --opacity-2 { syntax: "<number>"; inherits: false; initial-value: 0.1; } @property --opacity-3 { syntax: "<number>"; inherits: false; initial-value: 0.1; } @property --opacity-4 { syntax: "<number>"; inherits: false; initial-value: 0.1; } @property --text-offset-1 { syntax: "<number>"; inherits: false; initial-value: 10; } @property --text-offset-2 { syntax: "<number>"; inherits: false; initial-value: 10.........完整代码请登录后点击上方下载按钮下载查看
网友评论0