• HTML+CSS+JS静态网页设计【二十四节气】期末课程大作业



    一、👨‍🎓网站题目

    🏮传统春节网页设计、🎅圣诞节节日发展、🥮中秋、端午传统节日习俗庆祝、🎏地区特色,网站模板 、等网站的设计与制作。


    二、✍️网站描述

    🏷️ 大学生传统节日网页作业成品采用DIV CSS布局制作,主要内容包括节日介绍、节日发展、习俗庆祝、地区特色等内容,作品共多个页面,学生HTML静态网页基础水平制作,页面排版干净简洁。网页技术方面应用包括网页背景颜色、字号字体设置、超链接、图文页面、菜单栏、顶部大图等网页基础知识点

    🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

    1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
    2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
    3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
    4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
    5. 要有JS特效,如定时切换和手动切换图片轮播。
    6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
    7. 页面清爽、美观、大方,不雷同。 。
    8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

    三、📚网站介绍

    📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

    📓网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。

    📘网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。

    📒网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;

    📙网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++ 等任意html编辑软件进行运行及修改编辑等操作)。
    其中:
    (1)📜html文件包含:其中index.html是首页、其他html为二级页面;
    (2)📑 css文件包含:css全部页面样式,文字滚动, 图片放大等;
    (3)📄 js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。


    四、🌐网站演示

    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述
    在这里插入图片描述


    五、⚙️ 网站代码

    🧱HTML结构代码

    
    
    <html xmlns="http://www.w3.org/1999/xhtml">
    
    <head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <title>节气title>
      <style>
        * {
          margin: 0;
          padding: 0;
        }
    
        .body {
          margin: 0 auto;
          padding: 0;
        }
    
        .bigbox {
          width: 100%;
          height: 700px;
          background-color: #b7d4f2;
          text-align: center;
          background: #CCC url(picture/bg.jpg) no-repeat center;
          background-size: cover;
        }
    
        .top {
          width: 100%;
          height: 70px;
          background-color: #6b6b6b;
          opacity: 0.5
        }
    
        .nav {
          margin: 0 auto;
          width: 1100px;
          height: 70px;
          transform: translate(0, -70px)
        }
    
        .nav li {
          list-style: none;
          float: left;
          width: 200px;
          height: 70px;
          line-height: 70px;
          text-align: left;
          font-family: "演示夏行楷";
          font-size: 24px;
          text-align: right;
        }
    
        .nav .logo {
          text-align: left;
        }
    
        .nav a {
          color: #020346;
          text-decoration: none;
        }
    
    
        a:visited {
          text-decoration: none;
        }
    
        .nav a:hover {
          color: #fff;
          text-decoration: none;
        }
    
        a:active {
          text-decoration: none;
        }
    
    
        .middle {
          width: 1100px;
          margin: 0 auto;
          height: 482px;
        }
    
        .kuang {
          width: 150px;
          height: 40px;
          float: right;
          margin-top: 350px;
          margin-right: 50px;
          border: solid 1px #FFF;
          border-radius: 8%;
          font-family: "黑体";
          font-size: 18px;
          color: #FFF;
          text-align: center;
          line-height: 40px;
        }
      style>
    
      <link rel="stylesheet" href="css/style.css">
    head>
    
    <body>
      
      <div class="bigbox">
        <div class="top">div>
        <div class="nav">
          <li style="margin-left: 100px;"><a href="">首页a>li>
          <li><a href="jianjie.html">节气简介a>li>
          <li><a href="cansai.html">节气含义a>li>
          <li><a href="xiangce.html">相册a>li>
        div>
        
        <div class="middle">
          <div class="left_text">
    
            <a href="#" class="more">了解更多a>
          div>
        div>
    
        
    
        <div class="bottom">
          <div class="bottom_main">
            <ul>
            
    
              <div style="clear: both;">div>
            ul>
    
            <div class="code">
              <div class="code_img">
                <img src="picture/7.jpg" alt="">
              div>
              <div class="code_img">
                <img src="picture/bg.jpg" alt="">
              div>
              <div style="clear:both">div>
            div>
    
            <div class="lianxi">
              <p>春雨惊春清谷天,夏满芒夏暑相连。
                p>
              <p>
                秋处露秋寒霜降,冬雪雪冬小大寒。
               
              p>
              <p>
                每月两节不变更,最多相差一两天。
              p>
              <p>
                上半年来六廿一,下半年是八廿三。
    
              p>
            div>
          div>
        div>
    
    div>body>
    
    html>
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163

    💒CSS样式代码

    body {
      background: url(http://www.ylcp.shop/files/files/1654744357404/css/images/bg.jpg) no-repeat;
      background-size: cover;
    }
    .more {
      width: 120px;
      height: 40px;
      border-radius: 40px;
      border: 1px solid #020346;
      margin-top: 30px;
      display: block;
      text-decoration: none;
      text-align: center;
      line-height: 40px;
      color: #020346;
      transition: 0.2s;
    }
    .more:hover {
      background: #020346;
      color: #fff;
    }
    .left_text {
      width: 500px;
      text-align: left;
    }
    .left_text h2 {
      font-size: 40px;
      color: #020346;
      font-weight: 300;
    }
    .left_text .line {
      width: 50px;
      height: 3px;
      margin: 20px 0;
      background: #020346;
    }
    .left_text P {
      font-size: 20px;
      font-weight: 300;
      color: #020346;
    }
    .bottom {
      width: 100%;
      background: #020346;
      padding: 0 20px;
      box-sizing: border-box;
    }
    .bottom_main {
      width: 1100px;
      height: 100%;
      margin: 0 auto;
      text-align: left;
      color: #fff;
      padding: 20px 0;
    }
    .bottom_main a {
      text-decoration: none;
      color: #fff;
    }
    .bottom_main li {
      float: left;
      width: 16%;
      height: 50px;
      line-height: 50px;
      position: relative;
    }
    .bottom_main li a {
      display: block;
      text-align: center;
      position: relative;
    }
    .bottom_main li:hover {
      background: #fff;
    }
    .bottom_main li:hover a {
      color: #020346;
    }
    ul {
      list-style: none;
    }
    .code {
      width: 240px;
      margin: 20px auto;
      text-align: center;
    }
    .code_img {
      float: left;
      width: 100px;
      text-align: center;
      font-size: 12px;
      margin: 0 10px;
    }
    .code_img img {
      width: 100%;
    }
    .lianxi {
      margin-top: 20px;
    }
    .lianxi p {
      text-align: center;
      font-size: 14px;
      line-height: 2;
    }
    .jianjie {
      padding: 0 30px;
    }
    .jianjie h2 {
      font-weight: normal;
      color: #020346;
    }
    .jianjie h5 {
      font-weight: normal;
      margin: 10px 0;
      color: #666;
      font-size: 14px;
    }
    .jianjie hr {
      color: #020346;
      margin-bottom: 20px;
    }
    .jianjie p {
      font-size: 16px;
      line-height: 2;
      text-indent: 2em;
      margin-bottom: 10px;
      text-align: left;
    }
    .jianjie b {
      font-weight: 600;
    }
    .cansai {
      padding: 0 30px;
    }
    .cansai h2 {
      font-weight: normal;
      color: #020346;
    }
    .cansai h5 {
      font-weight: normal;
      margin: 10px 0;
      color: #666;
      font-size: 14px;
    }
    .cansai hr {
      color: #020346;
      margin-bottom: 20px;
    }
    .cansai p {
      font-size: 16px;
      line-height: 2;
      text-indent: 2em;
      margin-bottom: 10px;
      text-align: left;
    }
    .cansai b {
      font-weight: 600;
    }
    .banner {
      width: 1100px;
      margin: 0 auto;
      overflow: hidden;
    }
    .banner img{
      width: 100%;
    }
    .xiangce {
      padding: 0 30px;
    }
    .xiangce h2 {
      font-weight: normal;
      color: #020346;
    }
    .xiangce h5 {
      font-weight: normal;
      margin: 10px 0;
      color: #666;
      font-size: 14px;
    }
    .xiangce hr {
      color: #020346;
      margin-bottom: 20px;
    }
    .xiangce .xiangce_box {
      padding: 0 40px;
    }
    .xiangce .xiangce_box .xiangce_info {
      width: 30%;
      float: left;
      margin-right: 40px;
      background: #fff;
      box-shadow: 0 5px 12px 0 rgba(0, 0, 0, 0.2);
      margin-bottom: 20px;
    }
    .xiangce .xiangce_box .xiangce_info .xiangce_img {
      width: 100%;
      height: 240px;
      overflow: hidden;
    }
    .xiangce .xiangce_box .xiangce_info .xiangce_img img {
      width: 100%;
      height: 100%;
      transition: 0.2s;
    }
    .xiangce .xiangce_box .xiangce_info .text {
      padding: 20px;
      text-align: left;
      transition: 0.2s;
    }
    .xiangce .xiangce_box .xiangce_info .text p {
      margin-bottom: 16px;
      overflow: hidden;
      height: 30px;
      line-height: 30px;
      font-size: 14px;
      color: #424242;
      text-overflow: ellipsis;
      white-space: nowrap;
    }
    .xiangce .xiangce_box .xiangce_info .text span {
      color: #424242;
      font-size: 14px;
    }
    .xiangce .xiangce_box .xiangce_info:hover {
      cursor: pointer;
    }
    .xiangce .xiangce_box .xiangce_info:hover img {
      transform: scale(1.2);
    }
    .xiangce .xiangce_box .xiangce_info:hover .text {
      background: #020346;
    }
    .xiangce .xiangce_box .xiangce_info:hover .text p {
      color: #fff;
    }
    .xiangce .xiangce_box .xiangce_info:hover .text span {
      color: #fff;
    }
    
    
    
    
    
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241

    六、🥇 如何让学习不再盲目

    很多刚入门编程的小白学习了基础语法,却不知道语法的用途,不知道如何加深映像,不知道如何提升自己,这个时候每天刷自主刷一些题就非常重要(百炼成神),可以去牛客网上的编程初学者入门训练。该专题为编程入门级别,适合刚学完语法的小白练习,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习 。


    七、🎁更多干货

    1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

    2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

    3.

    以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻💬

  • 相关阅读:
    【VTK.js】学习笔记一:搭建环境,实现官网例子
    【C++】特殊类的设计(只在堆、栈创建对象,单例对象)
    类与对象(三) 拷贝构造与赋值运算符重载
    JVM调优建议
    【服务器】Java连接redis及使用Java操作redis、使用场景
    实例分析MySQL四种隔离级别的区别
    django安装到运行,简单的注册登录
    企业工程项目管理系统源码(三控:进度组织、质量安全、预算资金成本、二平台:招采、设计管理)
    使用VUE+SpringBoot+EasyExcel 整合导入导出数据
    基于Vue3在线商城(Vue3+VueCLI+VueRouter+vuex+axios+Bootstrap)
  • 原文地址:https://blog.csdn.net/QQ_____365392777/article/details/126200336