仿360安全卫士首屏

body样式

<body>
    <div class="wrap">
        <nav>
            <div class="nav">
                <div class="nav-inner">
                    <a href="#" class="logo"><span class="none">360安全卫士</span></a>
                </div>
            </div>
        </nav>
        <section>
            <div class="download">
                <h1 class="title"><span class="none">拦捆绑反欺诈 十年卫生活</span></h1>
                <a href="#" class="download-btn"><span class="none">360安全卫士下载</span></a>
                <div class="other-download">
                    <a href="#" class="offline"><span>离线安装包</span></a>
                    <a href="#" class="beta line"><span>beta版</span><span class="icon"></span></a>
                    <a href="#" class="inter"><span>国际版</span></a>
                </div>
                <p class="window10">全面兼容Win10、及Win8、Win7、XP等操作系统</p>
                <div class="install-help">
                    <a href="#">安装帮助</a>
                </div>
                <div class="piece piece-top"></div>    
                <div class="piece piece-bottom"></div>
            </div>
        </section>
        <footer>
            <div class="footer">
                <div class="partners">
                    <a href="#" class="wanwang"></a>
                    <a href="#" class="weipan"></a>
                    <a href="#" class="weibo"></a>
                    <a href="#" class="tweibo"></a>
                    <a href="#" class="qiniu"></a>
                </div>
            </div>
        </footer>
    </div>
</body>

css样式

    <style type="text/css">
     body,div,nav,section,h1,span,p,img,a{
        margin: 0;
        padding: 0;
     }
     nav,section{
        display: block;
     }
     body{
        font: 1em "microsoft Yahei";
        color: #333;
     }
     .none{
        display: none;
     }
     a{
        text-decoration: none;
     }
     .clearfix::after{
        content: "";
        display: none;
        clear: both;
     }
     .wrap{
        min-width: 60.386px;
        margin: 0 auto;
     }
     .nav{
        position: absolute;
        width: 100%;
        height: 60px;
        z-index: 4;
        background: url(./images/nav-bg.png) no-repeat center 0;
     }
     .nav-inner{
        width: 1000px;
        padding: 10px 0 0 20px;
        margin: 0 auto;
     }
     .logo{
        display: block;
        width: 199px;
        height: 34px;
        background: url(./images/logo.png) no-repeat 0 0;
     }
     .download{
        position: relative;
        height: 860px;
        width: 100%;
        overflow: hidden;
        z-index: 1;
        background: url(./images/circle.png)no-repeat right top,url(./images/screen.png) no-repeat -150px 0px,url(./images/shield.png) no-repeat 165px 375px,linear-gradient(180deg,#e9f7ef,#fafcfb);
     }
     .title{
        position: absolute;
        width: 566px;
        height: 86px;
        left: 50%;
        margin-left: -278px;
        top: 254px;
        background: url(./images/title.png) no-repeat 0 0;
     }
     .download-btn{
        position: absolute;
        width: 245px;
        height: 70px;
        left: 50%;
        margin-left: -122.5px;
        top: 414px;
        background: url(./images/download-btn.png) no-repeat -75px -23px;
        z-index: 2;
     }
     .download-btn:hover{
        background-position: -75px -118px;
     }
     .download-btn:active{
        background-position: -75px -212px;
     }
     .other-download{
        position: absolute;
        width: 270px;
        left: 50%;
        margin-left: -135px;
        top: 498px;
        z-index: 2;
     }
     .other-download a{
        position: relative;
        float: left;
        font-size: 0.875rem;
        color: #616362;
     }
     .other-download a:hover{
        color: #3cc967;
     }
     .other-download a:active{
        color: #16b056;
     }
     a.offline{
        width: 92px;
     }
     a.beta{
        position: relative;
        width: 107px;
        text-align: center;
     }
     a.inter{
        width: 67px;
        text-align: right;
     }
     a.beta span.icon{
        position: absolute;
        width: 30px;
        height: 14px;
        top: -16px;
        left: 86px;
        background: url(./images/icon.png) no-repeat;
     }
     .line::after{
        content: "";
        position: absolute;
        width: 1px;
        right: 0;
        top: 2px;
        bottom: 2px;
        background-color: #C9C9C9;
     }
     .window10{
        position: absolute;
        width: 270px;
        height: 14px;
        left: 50%;
        margin-left: -135px;
        top: 524px;
        font-size: 0.75rem;
        color: #b5bab8;
     }
     .install-help{
        position: absolute;
        width: 78px;
        left: 50%;
        margin-left: -39px;
        top: 575px;
        z-index: 2;
     }
     .install-help a{
        display: inline-block;
        line-height: 18px;
        font-size: 0.875rem;
        color: #616362;
        vertical-align: middle;
     }
     .install-help a:hover{
        color: #3cc967;
     }
     .install-help a::after{
        content: url(./images/lx.png);
        display: inline-block;
        width: 16px;
        height: 16px;
        vertical-align: middle;
        padding-left: 5px;
     }
     .piece{
        position: absolute;
        z-index: 0;
     }
     .piece-top{
        width: 873px;
        height: 375px;
        left: 50%;
        margin-left: -58px;
        background: url(./images/piece-top.png) no-repeat;
        animation: slideDown 1s ease-in-out forwards;
     }
     .piece-bottom{
        width: 971px;
        height: 401px;
        right: 50%;
        margin-right: -263px;
        bottom: 0;
        background: url(./images/piece-bottom.png) no-repeat;
        animation: slideUP 1s ease-in-out forwards;
     }
     .footer{
        width: 100%;
        background-color: #000;
     }
     .partners{
        width: 280px;
        height: 60px;
        padding-top: 20px;
        margin: 0 auto;
     }
     .partners a{
        display: inline-block;
        height: 24px;
        margin-right: 15px;
        background: url(./images/sdc_icon.png) no-repeat 0 0;
        transition: background-position 0.2s ease-out;
     }
     .partners a.wanwang{
        width: 50px;
        background-position: 0 0;
     }
     .partners a.wanwang:hover{
        background-position: 0 -26px;
     }
     .partners a.weipan{
        width: 24px;
        background-position: -52px 0;
     }
     .partners a.weipan:hover{
        background-position: -52px -26px;
     }
     .partners a.weibo{
        width: 31px;
        height: 25px;
        background-position: -77px 0;
     }
     .partners a.weibo:hover{
        background-position: -77px -25px;
     }
     .partners a.tweibo{
        width: 24px;
        background-position: -84px -51px;
     }
     .partners a.tweibo:hover{
        width: 24px;
        background-position: -84px -75px;
     }
     .partners a.qiniu:hover{
        width: 55px;
        height: 25px;
        background-position: -108px -25px;
     }
     @keyframes slideDown{
        0%{
            transform: translateY(-60px);
        }
        100%{
            transform: translateY(0);
        }
     }
     @keyframes slideUp{
        0%{
            transform: translateY(100px);
        }
        100%{
            transform: translateY(0);
        }
     }
    </style>

最后效果

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
项目名称:[精仿]360安全卫士-10.30更新(CSkin Demo) 界面库版本号:10.30 最新版本 下载内容: 精仿360安全卫士源码一份, 可引用至工具箱最新版CSkin.dll一份 实现功能: 1.发光标题。 2.直角边框和阴影。 3.360安全卫士主界面模仿。 4.多系统支持,不需要win8系统,即可实现win8风格的360。 5.自定义控件的美化使用。 界面库更新文档: CC2013-10.30 1.由于SkinForm名字太多人使用,界面库命名正式改为CSkin.dll,官网www.cskin.net。 2.SkinTabControl标签中添加菜单箭头,可点击展开菜单。 3.SkinTabControl添加标签关闭按钮。 4.修复部分中文乱码问题。 5.优化好友列表右键菜单。 6.将窗体自定义系统按钮改为集合模式,可添加无数个自定义系统按钮。自定义系统按钮事件中可以 e.参数 来判断。 7.增加360安全卫士-DEMO案例。 8.增加SkinAnimatorImg控件,用于支持位图动画的播放。如360的动态logo。 9.各种细节BUG优化。 CC2013-10.11 1.添加SkinTabControlEx,加入更加自定义的美化属性和动画效果。 2.添加SkinAnimator,通用动画控件。 3.添加Html编辑器控件 4.修复SkinButton图标和文本相对位置的BUG CC2013-9.26 1.优化好友列表CPU占用 2.好友列表加入好友登录平台属性:安卓 苹果 WEBQQ PC 3.优化标题绘制模式,新添标题绘制模式属性。 4.新添标题偏移度属性。 5.加入圆形进度条控件:ProgressIndicator。 CC2013-9.5.2 1.优化截图控件,截图工具栏加入新功能。 2.解决个人信息卡和天气窗体显示后不会消失的问题。 3.各种细节BUG优化。 CC2013-9.5.1 1.解决贴边左右隐藏的BUG。 2.解决窗体点击事件不能触发的问题。 3.优化SkinButton继承父容器背景色的代码。 4.解决SkinButton异常错误。 CC2013-9.3 1.好友列表右键菜单没反应问题。 2.新增美化控件SkinDatagridview。 3.密码软件盘回删不了文字问题。 4.双击窗体最大化,最大化后再双击恢复原大小,(win7)。 5.部分细节调优。 小编:下载不要分,DEMO教你如何熟练使用CSkin界面库美化自己的窗体。 友情链接: http://bbs.csdn.net/topics/390510544 (精仿QQ2013局域通讯) http://download.csdn.net/detail/lyx_520/5710799 (C#实现Win8窗体)

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值