web前端期末大作业 HTML+CSS 动漫主题网页作业

一、作品介绍

HTML实例网页代码, 本实例适合于初学HTML的同学。该实例里面有设置了css的样式设置,有div的样式格局,这个实例比较全面,有助于同学的学习,本文将介绍如何通过从头开始设计个人网站并将其转换为代码的过程来实践设计。


二、作品效果

▶️视频演示

https://live.csdn.net/v/embed/239832

(title-B27JP 名侦探柯南 三级(6页))

截图演示

06.png
05.png
04.png
03.png
02.png
01.png


三、 作品代码

HTML代码






首页



热门连载

最新更新

新番动漫

经典完结

热门动漫人物
哆唻A梦
漩涡鸣人
江户川柯南
宇智波佐助
野比大雄
经典动漫

哆啦A梦

ドラえもん

火影忍者

NARUTO -ナルト-

名侦探柯南

名探偵コナン

最新更新

Copyright©经典动漫网版权所有Rights Reserved.

CSS代码


body {
    margin: 0 auto;
    font-size: 12px;
    font-family: "微软雅黑",arial;
    line-height: 22px;
    background: #e0ecfa;
}

div,p,input,li,h1,h2,h3,h4,h5 {
    height: auto;
    margin: 0;
    padding: 0px;
    vertical-align: middle;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

img {
    border: 0;
    margin: 0;
    padding: 0;
}

.web {
    width: 1140px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
    background: #FFF;
    padding: 0px 30px;
}

.top {
    height: 55px;
    padding-top: 15px;
}

.logo {
    width: 116px;
    height: 39px;
    float: left;
    margin-right: 50px;
}

.nav {
    width: 720px;
    height: 39px;
    float: left;
}

.nav ul {
    padding: 0px;
    margin: 0;
}

.nav ul li {
    height: 39px;
    line-height: 39px;
    float: left;
    margin: 0px 20px;
}

.nav ul li a {
    font-size: 18px;
    color: #000;
}

.sous {
    width: 140px;
    height: 39px;
    float: right;
}

.inut {
    width: 110px;
    height: 39px;
    border: none;
    border-bottom: 1px solid #000;
    float: left;
}

.btn {
    width: 30px;
    height: 30px;
    background: url(../images/btn.jpg) no-repeat;
    border: none;
    margin-top: 10px;
}

.banner {
    width: 1140px;
    height: 364px;
    margin-bottom: 25px;
}

.box1 {
    width: 910px;
    height: 90px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.box1 .bx {
    width: 88px;
    height: 90px;
    float: left;
    margin: 0px 60px;
    text-align: center;
    font-size: 14px;
}

.box1 .bx img {
    margin-bottom: 10px;
}

.tit {
    height: 60px;
    line-height: 60px;
    padding-left: 20px;
    font-size: 26px;
    margin-bottom: 15px;
    color: #464543;
}

.box2 {
    height: 250px;
}

.box2 .bx2 {
    width: 193px;
    height: 250px;
    float: left;
    margin: 0px 17px;
    text-align: center;
    font-size: 16px;
}

.box2 .bx2 img {
    margin-bottom: 15px;
}

.box3 {
    height: 270px;
}

.box3 .bx3 {
    width: 337px;
    height: 270px;
    float: left;
    margin: 0px 18px;
}

.box3 .bx3 img {
    margin-bottom: 10px;
}

.box3 .bx3 p {
    line-height: 25px;
    font-size: 16px;
}

.box4 {
    height: 305px;
}

.box4 .bx4 {
    width: 337px;
    height: 305px;
    float: left;
    margin: 0px 18px;
}

.foot {
    height: 123px;
    background: #588fb8;
    padding-top: 40px;
}

.foot p {
    height: 30px;
    line-height: 30px;
    font-size: 14px;
    color: #FFF;
    text-align: center;
}

.title2 {
    height: 60px;
    line-height: 60px;
    margin-bottom: 20px;
}

.title2 h1 {
    font-size: 26px;
    padding-left: 20px;
    font-size: 26px;
    margin-bottom: 15px;
    color: #464543;
    font-weight: normal;
}

.music {
    width: 1140px;
    height: 1050px;
}

.music ul {
    padding: 0px;
}

.music ul li {
    width: 206px;
    height: 340px;
    float: left;
    margin: 0px 10px;
}

.music ul li img {
    width: 206px;
    height: 224px;
    margin-bottom: 15px;
}

.music ul li h1 {
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    font-weight: normal;
}

.music ul li h1 a {
    color: #000;
}

.music ul li h2 {
    height: 25px;
    line-height: 25px;
    font-size: 14px;
    font-weight: normal;
    color: #b3afaf;
}
/*--登陆注册---*/
.neir {
    width: 1140px;
    margin-bottom: 100px;
    overflow: hidden;
}

.conr {
    width: 380px;
    height: 416px;
    background: #cbe7fc;
    margin: 0 auto;
}

.lewm {
    width: 381px;
    height: 381px;
}

.login {
    width: 308px;
    height: 300px;
    margin: 0 auto;
    padding-top: 30px;
}

.login-title {
    height: 20px;
    line-height: 20px;
    font-size: 14px;
    color: #3c3c3c;
    padding-bottom: 20px;
    font-weight: 700;
}

.txt {
    width: 300px;
    height: 40px;
    border: #CCC 1px solid;
    margin-top: 10px;
}

.txt .wez {
    width: 40px;
    height: 40px;
    float: left;
}

.txt .input {
    width: 240px;
    float: left;
    padding-left: 20px;
    color: #666;
    height: 40px;
    border: none;
}

.txt .input2 {
    width: 290px;
    float: left;
    padding-left: 10px;
    color: #666;
    height: 40px;
    border: none;
}

.passw {
    width: 300px;
    height: 20px;
    margin-top: 20px;
    font-size: 12px;
}

.password {
    float: left;
}

.passw a {
    text-decoration: none;
    color: #333;
}

.zhuce {
    float: right;
}

.lbtn {
    width: 300px;
    font-size: 16px;
    margin-top: 25px;
    height: 42px;
    border: 0;
    overflow: hidden;
    vertical-align: middle;
    line-height: 42px;
    color: #fff;
    background: url(../images/ico7.png) no-repeat;
}

.jies {
    width: 1140px;
    height: auto;
    overflow: hidden;
    margin: 0 auto;
}

.lv-box {
    height: 225px;
    padding: 20px 0px;
}

.lv-box img {
    width: 300px;
    height: 203px;
    float: left;
    margin-right: 20px;
}

.lv-box-r {
    width: 820px;
    height: 225px;
    float: left;
}

.lv-box .lv-tit {
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
}

.lv-box p {
    font-size: 14px;
    line-height: 30px;
    float: left;
    text-indent: 2em;
}

.lv-box a {
    color: #000;
}

.lv-box span {
    height: 50px;
    line-height: 50px;
    float: right;
    margin-right: 20px;
}

.lv-box span a {
    color: #F00;
}

.nr {
    width: 1140px;
    height: auto;
    overflow: hidden;
    background: #FFF;
    padding-top: 20px;
    padding-bottom: 20px;
}

.neititle {
    height: 50px;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
    border-bottom: #CCC 1px dashed;
    margin-bottom: 20px;
}

.llbx1 {
    height: auto;
    overflow: hidden;
    margin-bottom: 30px;
}

.img1 {
    margin: 0px 20px;
    float: left;
    float: left
}

.img2 {
    margin: 0px 20px;
    float: left;
    float: right;
}

.llbx1 p {
    font-size: 16px;
    line-height: 30px;
    text-indent: 2em;
}







四、更多源码

【干货分享】自学编程的小伙伴可以前往我的 gitee 仓库(持续更新中...)

【web学习指南】从web基础、计算机基础到前端常用框架的教程,涵盖前端大部分必备知识(学习指南 + 技术文章 + 资源分享)

Gitee仓库地址(来个Star吧~): https://gitee.com/zhanyuqiu2022/my-app

你可能感兴趣的:(web前端期末大作业 HTML+CSS 动漫主题网页作业)