CSS下载壁纸男生用动漫 <style> .bg-image { height: 100vh; background-image: url( https://i.imgur
CSS下载壁纸男生用动漫
<style> .bg-image { height: 100vh; background-image: url("https://i.imgur.com/RPLJd45.png"); background-repeat: no-repeat; background-size: cover; background-position: center; } .container { width: 80%; margin: 0 auto; text-align: center; padding-top: 40vh; } h1 { color: white; font-size: 4em; text-shadow: 2px 2px #000000; } p { color: white; font-size: 1.5em; text-shadow: 2px 2px #000000; } </style> <div class="bg-image"> <div class="container"> <h1>动漫男生壁纸</h1> <p>精选了适合男生使用的动漫壁纸,不论你喜欢哪一种风格,在这里都能找到最适合的壁纸!</p> </div> </div>
粉丝
0
关注
0
收藏
0