html代码|专用引流单页代码(单页引流源码)
时间:2022-11-29 01:49:40 阅读:1653
用来插入网站首页,做到引流效果
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <link rel="stylesheet" type="text/css" href="css1.css"> <style>header {background-image: url(http://pp.hnysnet.com/zb_users/theme/projectpage/style/images/head_bg.jpg);}</style> <header> <div class="head_b"> <!--大标题--> <h1 class="page-name"><a href="/" title="专单页引流">专单页引流</a></h1> <!--副标题/seo标题--> <div class="page-subname">一款可以用作引流关注、网络项目推广的单页代码,又不仅仅是一个单页!</div> <!--摘要或seo描述--> <p>这是一个单页网站模板代码,这段文字所在的版块,背景图片、网站logo、导航栏、标题和文字、链接按钮都是可以通过后台自定义的,不需要修改代码。 </p> <a target="_blank" href="/" class="btn">按钮1</a> <a target="_blank" href="/" class="btn">按钮2</a> <a target="_blank" href="/" class="btn">按钮3</a> </div> <div class="down_main"><a href="#main" title="点击下拉"><i class="iconfont">↓</i></a></div> </header> <style> body,header,i{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline;font-family:"Microsoft YaHei",Verdana,sans-serif;outline:0} header{position:relative;height:100vh;background-repeat:no-repeat;background-position:top;background-size:cover;z-index:9;} header:after{background:#23292f;content:"";display:block;height:100%;position:absolute;top:0;width:100%;z-index:-1;opacity:.7} .head_b{text-align:center;position:absolute;top:50%;left:0;right:0;padding:0 20px;margin-top:-150px;} .head_b .page-name{font-size:60px;line-height:150%;margin-bottom:20px;font-weight: bold;color:#338ad9;} .head_b .page-name a{color:#338ad9;text-decoration: none;} .head_b .page-subname{font-size:32px;color:#ffffff;line-height:150%;margin:0 0 30px 0;font-weight: normal;} .head_b p{font-size:16px;color:#ffffff;line-height:150%;margin:0 0 30px 0;} .btn{padding:12px 30px;display:inline-block;margin-bottom:20px;color:rgba(255,255,255,.7);background-color:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);border-style:solid;border-width:1px;border-radius:3px;transition:color .2s,background-color .2s,border-color .2s;box-sizing:border-box} .btn:hover{color:rgba(255,255,255,.8);text-decoration:none;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.3)} .btn+.btn{margin-left:20px} .down_main{position:absolute;bottom:30px;right:50%;margin-right:-15px;width:30px;height:30px;line-height:30px;overflow: hidden;text-align: center;z-index: 9;animation: arrow .5s ease-out .5s infinite alternate;} .down_main a{display: block;color: #999999;cursor:pointer;font-size: 24px; } .down_main a:hover{text-decoration: none;} .down_main:hover{animation: initial} a,ins{text-decoration:none;color:#333;} a:hover{color:#dd3c3c;text-decoration:underline;} @media screen and (max-width:480px){ header button span{display:none} .head_b{margin-top:-250px;} .head_b .page-name{font-size:30px;line-height: 120%;margin-bottom:30px;} .head_b .page-subname{font-size:18px;} .btn{width:100%;padding:8px 30px;} .btn+.btn{margin-left:0} } @media screen and (max-width:720px){ .head_b{margin-top:-200px;} .head_b .page-name{font-size:40px;margin-bottom:25px;} .head_b .page-subname{font-size:20px;margin:0 0 30px 0;} .head_b p{font-size:14px;margin:0 0 30px 0;} } </style>
网友评论