css实现文字背景图片排版融合效果代码

代码语言:html

所属分类:布局界面

代码描述:css实现文字背景图片排版融合效果代码

代码标签: css 文字 图片 融合

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">




    <style>
        body {
        	margin:0;
        	background:#000;
        }
        
        p {
        	font-size: 15px;
          text-align: justify;
          font-weight: bold;
          font-family: sans-serif;
          min-height: 100vh;
        	max-width:800px;
        	margin:0 auto;
          color: transparent;
          background: url(//repo.bfw.wiki/bfwrepo/image/5e0c6f962a0d0.png) center/cover;
         -webkit-background-clip: text;
          background-clip: text;
          word-spacing: 0px;
          letter-spacing: -1px;
        }
    </style>



</head>

<body>
    <p>We're no strangers to love You know the rules and so do I A full commitment's what I'm thinking of You wouldn't get this from any other guy I just wanna tell you how I'm feeling Gotta make you understand Never gonna give you up Never gonna let you
        down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you We've known each other for so long Your heart's been aching but you're too shy to say it Inside we both know what's
        been going on We know the game and we're gonna play it And if you ask me how I'm feeling Don't tell me you're too blind to see Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never
        gonna say goodbye Never gonna tell a lie and hurt you Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say goodbye Never gonna tell a lie and hurt you Never gonna give,
        never gonna give (Give you up) We've known each other for so long Your heart's been aching but you're too shy to say it Inside we both know what's been going on We know the game and we're gonna play it I just wanna tell you how I'm feeling Gotta
        make you understand Never gonna give you up Never gonna let you down Never gonna run around and desert you Never gonna make you cry Never gonna say.........完整代码请登录后点击上方下载按钮下载查看

网友评论0