书签 分享 收藏 举报 版权申诉 / 27

类型静态设计页面的制作课程设计.docx

  • 文档编号:25828026
  • 上传时间:2023-06-15
  • 格式:DOCX
  • 页数:27
  • 大小:278.91KB

首页

登陆

绿茵场

  • 首页
  • 联赛
  • 直播
  • 欧洲
  • 南美
  • 亚洲
  • 侧边栏

    aquamarine">

    最新消息

    lightgreen">

    积分榜

    英超积分榜
    排名球队场次积分
    1切尔西1946
    2曼城1946
    3曼联1946
    4开普敦1933
    5切尔西1933
    6阿森纳1933
    7热刺1846
    8西汉姆联1846

    主题部分

    url('1.jpg.png')">

    url('2.fw.png')">

    url('3.fw.png')">

    url('4.fw.png')">

    lightgreen">

    英超赛事

    lightgreen">

    德甲赛事

    底部和细节调整

    Copyright©2014熊武,AllRightsReserved

    2、CSS代码

    *{

    margin:

    0px;

    padding:

    0px;

    font-family:

    "微软雅黑";

    }

    #head{

    background-color:

    deepskyblue;

    height:

    50px;

    width:

    100%;

    box-shadow:

    cornflowerblue5px5px5px;

    position:

    fixed;

    float:

    top;

    z-index:

    100;

    }

    #head#head_contend{

    margin-left:

    15%;

    background-color:

    chartreuse;

    height:

    50px;

    width:

    75%;

    }

    #head_contend#first{

    text-align:

    left;

    background:

    powderblue;

    width:

    200px;

    height:

    50px;

    float:

    left;

    }

    #head_contend#admin{

    text-align:

    center;

    background:

    lightblue;

    height:

    50px;

    width:

    50px;

    float:

    right;

    }

    #head_contend#index{

    text-align:

    center;

    background:

    darkseagreen;

    height:

    50px;

    width:

    50px;

    float:

    right;

    }

    #body{

    margin-left:

    15%;

    padding-top:

    10px;

    width:

    75%;

    float:

    top;

    z-index:

    0;

    }

    #logo{

    height:

    50px;

    margin-top:

    50px;

    padding:

    0;

    }

    #rad{

    margin:

    5px;

    height:

    50px;

    width:

    100%;

    border-radius:

    10px;

    box-shadow:

    darkcyan5px5px10px;

    }

    #content{

    border-radius:

    10px;

    width:

    30%;

    box-shadow:

    darkcyan5px5px10px;

    float:

    left;

    padding:

    15px;

    }

    #content#content_top{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    100%;

    box-shadow:

    darkcyan5px5px10px;

    position:

    relative;

    float:

    left;

    margin-right:

    5px;

    background:

    greenyellow;

    ;

    }

    #content#content_center{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    100%;

    box-shadow:

    darkcyan5px5px10px;

    position:

    relative;

    float:

    left;

    margin-right:

    5px;

    background:

    turquoise;

    }

    #content#content_bottom{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    100%;

    box-shadow:

    darkcyan5px5px10px;

    position:

    relative;

    float:

    left;

    margin-right:

    5px;

    background:

    palegreen;

    }

    #content1{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    65%;

    height:

    250px;

    box-shadow:

    darkcyan5px5px10px;

    float:

    left;

    background:

    powderblue;

    }

    #content1#slid{

    height:

    100%;

    width:

    100%;

    margin:

    4px;

    padding:

    2px;

    }

    #slid#img{

    border:

    solid2pxrosybrown;

    height:

    190px;

    width:

    98%;

    box-shadow:

    lightblue2px2px2px;

    padding-top:

    2px;

    }

    #slid#mcimg{

    border:

    2pxdarkcyansolid;

    height:

    40px;

    margin-top:

    2px;

    width:

    58%;

    padding-left:

    40%;

    padding-top:

    2px;

    overflow:

    hidden;

    }

    #boot{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    65%;

    height:

    500px;

    box-shadow:

    darkcyan5px5px10px;

    float:

    left;

    }

    #boot.c1{

    border:

    solid2pxgreenyellow;

    border-radius:

    5px;

    width:

    98%;

    height:

    200px;

    box-shadow:

    darkcyan5px5px10px;

    float:

    top;

    }

    #root{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    100%;

    height:

    50px;

    box-shadow:

    darkcyan5px5px10px;

    float:

    left;

    background-color:

    deepskyblue;

    }

    #p1{

    background:

    cornflowerblue;

    width:

    35px;

    height:

    35px;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    }

    #p2{

    background:

    orange;

    width:

    35px;

    height:

    35px;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    }

    #p3{

    background:

    chartreuse;

    width:

    35px;

    height:

    35px;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    }

    #p4{

    background:

    orchid;

    width:

    35px;

    height:

    35px;

    float:

    left;box-shadow:

    darkcyan5px5px10px;

    }

    .b1{

    width:

    47%;

    height:

    28%;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    position:

    absolute;

    }

    .b2{

    background:

    chartreuse;

    width:

    47%;

    height:

    28%;

    float:

    left;

    font-size:

    40px;

    box-shadow:

    darkcyan5px5px10px;

    position:

    absolute;

    display:

    none;

    }

    .b3{

    background:

    orange;

    width:

    47%;

    height:

    28%;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    position:

    absolute;

    display:

    none;

    }

    .b4{

    background:

    cornflowerblue;

    width:

    47%;

    height:

    28%;

    float:

    left;

    box-shadow:

    darkcyan5px5px10px;

    position:

    absolute;

    display:

    none;

    }

    h1{

    color:

    chocolate;

    font-family:

    sans-serif;

    }

    ul

    {

    list-style-type:

    none;

    margin:

    0;

    padding:

    0;

    overflow:

    hidden;

    }

    .radli

    {

    float:

    left;

    }

    .rada:

    link,a:

    visited

    {

    display:

    block;

    width:

    150px;

    height:

    32px;

    font-weight:

    bold;

    color:

    #FFFFFF;

    background-color:

    lightblue;

    text-align:

    center;

    padding:

    4px;

    text-decoration:

    none;

    text-transform:

    uppercase;

    padding-top:

    10px;

    }

    .rada:

    hover,a:

    active

    {

    background-color:

    aqua;

    }

    .blank{

    border:

    5pxdimgreysolid;

    border-radius:

    10px;

    width:

    98%;

    box-shadow:

    darkcyan5px5px10px;

    float:

    top;

    margin-bottom:

    5px;

    }

    .c1a{

    color:

    dodgerblue;

    }

    #logoh1{

    color:

    lime;

    }

    #logoh2{

    color:

    dodgerblue;

    }

    #content_topa{

    color:

    dodgerblue;

    }

    3、JS代码

    /**

    *Createdbyxxon2014/12/28.

    */

    $(document).ready(function(){

    $("#p1").mouseenter(function(){

    varp1=$("#p1");

    p1.css({background:

    '#00ced1',boxshadow:

    'red5px5px5px',fontsize:

    '25px'});

    p1.css({border:

    'solid2pxlavender'})

    $(".b1").css({display:

    'inherit'})

    $(".b2").css({display:

    'none'})

    $(".b3").css({display:

    'none'})

    $(".b4").css({display:

    'none'})

    })

    $("#p1").mouseleave(function(){varp1=$("#p1");

    varp1=$("#p1");

    p1.css({background:

    'cornflowerblue'});

    })

    $("#p2").mouseenter(function(){

    varp2=$("#p2");

    p2.css({background:

    '#00ced1'});

    $(".b2").css({display:

    'inherit'})

    $(".b1").css({display:

    'none'})

    $(".b3").css({display:

    'none'})

    $(".b4").css({display:

    'none'})

    })

    举报
    举报
    版权申诉
    版权申诉
    word格式文档无特别注明外均可编辑修改;预览文档经过压缩,下载后原文更清晰! 立即下载
    配套讲稿:

    如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。

    特殊限制:

    部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。

    关 键  词:
    静态 设计 页面 制作 课程设计
    提示  冰豆网所有资源均是用户自行上传分享,仅供网友学习交流,未经上传用户书面授权,请勿作他用。
    关于本文
    本文标题:静态设计页面的制作课程设计.docx
    链接地址:https://www.bdocx.com/doc/25828026.html
    关于我们 - 网站声明 - 网站地图 - 资源地图 - 友情链接 - 网站客服 - 联系我们

    copyright@ 2008-2022 冰点文档网站版权所有

    经营许可证编号:鄂ICP备2022015515号-1

    收起
    展开