css文字渐变悬浮动画效果代码
代码语言:html
所属分类:悬停
代码描述:css文字渐变悬浮动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <style> @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@500&display=swap'); * { margin: 0; padding: 0; } body { height: 100vh; width: 100vw; background-color: #FBF8F1; display: flex; align-items: center; justify-content: center; } h1 { font-family: 'Poppins', sans-serif; font-size: 25vmin; line-height: 20vmin; } .gradient-text { color: transparent; background: conic-gradient( #D9D7F1 12%, #BAABDA 12%, #BAABDA 33%, #E7FBBE 33%, #E7FBBE 55%, #FFCBCB 55%, #FFCBCB 70%, #B5DEFF 70%, #B5DEFF 87%, #F7D1BA 87%); background-size: 50%; background-clip: text; -webkit-background-clip: t.........完整代码请登录后点击上方下载按钮下载查看
网友评论0