🎉精彩专栏推荐 💭文末获取联系
✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
💂 作者主页: 【主页——🚀获取更多优质源码】
🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
🌎超炫酷的Echarts大屏可视化源码:【🔰 Echarts大屏展示大数据平台可视化(150套) 】
🔖 HTML+CSS+JS实例代码: 【🗂️HTML+CSS+JS实例代码 (炫酷特效网页代码) 继续更新中…】
🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】
🥇 关于作者: 💬历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!
🐕 宠物网页设计 、🐼保护动物网页、🐋鲸鱼海豚主题、🐘保护大象、等网站的设计与制作。
🏷️HTML宠物网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力,导航与正文字体分别设置不同字号大小。导航区域设置了背景图。子页面有纯文字页面和图文并茂页面。
🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)
📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
📓网站程序方面:计划采用最新的网页编程语言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代码)。








DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link type="text/css" rel="stylesheet" href="css/style.css" />
<script src="js/js.js" type="text/javascript">script>
<title>狗狗百科title>
head>
<body>
<div class="wrapin"> <a href="#" class="logo"><img src="images/logo.png"/>a> div>
<div class="wrapin">
<header class="clearfix">
<h2>狗狗百科h2>
<ul class="clearfix nav">
<li><a href="index.html">网站首页a>li>
<li><a href="fenlei.html">狗狗分类a>li>
<li><a href="zixun.html">狗狗资讯a>li>
<li><a href="yongpin.html">狗狗用品a>li>
<li><a href="lianxi.html">联系我们a>li>
ul>
header>
<div class="banner_box ">
<div class="box-1">
<ul>
<li> <img src="images/banner1.jpg">img> li>
<li> <img src="images/banner2.jpg">img> li>
<li> <img src="images/banner3.jpg">img> li>
<li> <img src="images/banner4.jpg">img> li>
ul>
div>
<div class="box-2">
<ul>
ul>
div>
<div class="box-3"> <span class="prev"> < span> <span class="next"> > span> div>
div>
<div class="con">
<div class="top clearfix">
<div class="jians">
<div class="title">
<h2>狗h2>
div>
<div class="text"> <img src="images/img_01.jpg" width="120" class="lt"/> 狗(拉丁文Canis lupus familiaris)属于脊索动物门、脊椎动物亚门、哺乳纲、真兽亚纲、食肉目、裂脚亚目、犬科动物。中文亦称“犬”,狗分布于世界各地。狗与马、牛、羊、猪、鸡并称“六畜”。有科学家认为狗是由早期人类从灰狼驯化而来,驯养时间在4万年前~1.5万年前。被称为“人类最忠实的朋友”,是饲养率最高的宠物,其寿命大约在12~18年 。在中国文化中,狗属于十二生肖之一,在十二生肖中的第11位。 div>
div>
<div class="news_in">
<div class="title">
<h2>狗狗资讯h2>
div>
<ul>
<li><a href="zixun_2.html">比利时牧羊犬的细节a>li>
<li><a href="zixun_3.html">大丹犬智商 大丹犬性格大揭秘a>li>
<li><a href="zixun_4.html">养狗,我劝你不要养“茶杯犬”,不然你会和我一样a>li>
<li><a href="zixun_5.html">狗狗喝咖啡也会中毒,一旦喝下这个量,狗狗可能会a>li>
<li><a href="zixun_6.html">开朗的狗狗突然不开心,它情绪低落有这3个原因,a>li>
ul>
div>
div>
<div class="tupian">
<div class="title">
<h2>狗狗美图h2>
div>
<ul class="clearfix">
<li> <img src="images/img_02.jpg"/> li>
<li> <img src="images/img_03.jpg"/> li>
<li> <img src="images/img_04.jpg"/> li>
ul>
div>
<footer>狗狗百科footer>
div>
body>
html>
* {
margin: 0;
padding: 0;
}
body {
margin: 0 auto;
font-size: 14px;
background: #fff;
color: #333;
position: relative;
}
img {
border: none;
}
a {
cursor: pointer;
color: #333;
text-decoration: none;
outline: none;
}
ul {
list-style-type: none;
}
em {
font-style: normal;
}
.lt {
float: left;
}
.rt {
float: right;
}
div.clear {
font: 0px Arial;
line-height: 0;
height: 0;
overflow: hidden;
clear: both;
}
.clearfix::after {
content: "";
display: block;
clear: both;
}
.wrapin {
width: 1000px;
margin-left: auto;
margin-right: auto;
}
.logo {
display: block;
width: 160px;
margin: 10px auto;
}
.logo img {
width: 100%;
}
header {
height: 50px;
padding: 0 15px;
background: #71a5b0;
}
header h2 {
float: left;
font-size: 24px;
color: #fff;
line-height: 50px;
}
.nav {
float: right;
line-height: 50px;
text-align: center;
}
.nav li {
display: inline-block;
width: 120px;
font-size: 16px;
text-align: center;
}
.nav li a {
color: #fff;
}
.banner {
width: 100%;
}
.banner img {
width: 100%;
}
.banner img {
width: 100%;
display: block;
object-fit: cover;
}
.banner_box {
width: 100%;
height: 520px;
overflow: hidden;
position: relative;
}
.box-1 ul {
}
.box-1 ul li {
width: 100;
height: 520px;
position: relative;
overflow: hidden;
}
.box-1 ul li img {
display: block;
width: 100%;
object-fit: cover;
height: 100%;
}
.box-1 ul li h2 {
position: absolute;
left: 0;
bottom: 0;
height: 40px;
width: 100%;
background: rgba(125,125,120,.4);
text-indent: 2em;
padding-right: 500px;
font-size: 15px;
line-height: 40px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
font-weight: normal;
color: ghostwhite
}
.box-2 {
position: absolute;
right: 10px;
bottom: 14px;
}
.box-2 ul li {
float: left;
width: 12px;
height: 12px;
overflow: hidden;
margin: 0 5px;
border-radius: 50%;
background: rgba(0,0,0,0.5);
text-indent: 100px;
cursor: pointer;
}
.box-2 ul .on {
background: rgba(255,255,255,0.6);
}
.box-3 span {
position: absolute;
color: rgba(255,255,255,0.1);
background: rgba(255,255,255,0.1);
width: 50px;
height: 80px;
top: 50%;
font-family: "宋体";
line-height: 80px;
font-size: 60px;
margin-top: -40px;
border-radius: 5px;
text-align: center;
cursor: pointer;
}
.box-3 .prev {
left: 10px;
}
.box-3 .next {
right: 10px;
}
.box-3 span::selection {
background: transparent;
}
.box-3 span:hover {
background: rgba(255,255,255,.5);
color: rgba(255,255,255,1)
}
.con {
margin-top: 20px;
}
.title {
padding: 15px 0;
color: #71a5b0;
border-bottom: 2px solid #71a5b0;
}
.title h2 {
font-size: 20px;
}
.jians {
width: 49%;
float: left;
}
.jians .text {
padding: 15px 0;
font-size: 14px;
color: #333;
line-height: 26px;
}
.news_in {
width: 49%;
float: right;
}
.news_in li {
line-height: 40px;
border-bottom: 1px dashed #ccc;
}
.news_in li a {
color: #333;
font-size: 14px;
}
.news_in li a:hover {
color: #f29721;
}
footer {
background: #71a5b0;
text-align: center;
line-height: 50px;
font-size: 16px;
color: #fff;
}
.tupian ul {
margin: 0 -15px;
}
.tupian ul li {
width: 33.333%;
float: left;
padding: 15px;
box-sizing: border-box;
}
.tupian ul li img {
width: 100%;
height: 195px;
object-fit: cover;
border: 1px solid #ccc;
}
.tupian ul li p {
line-height: 30px;
text-align: center;
font-size: 16px;
color: #333;
}
.fenl {
margin-top: 10px;
}
.fenl li {
display: inline-block;
margin: 5px;
width: 120px;
line-height: 36px;
background: #71a5b0;
color: #fff;
font-size: 14px;
text-align: center;
}
.fenl li a {
display: block;
color: #fff;
}
form {
width: 100%;
display: block;
}
form p {
margin: 10px 0;
font-size: 16px;
color: #333;
}
form .phone {
width: 100%;
height: 36px;
padding: 0 10px;
box-sizing: border-box;
border: 1px solid #ccc;
}
form textarea {
width: 100%;
height: 100px;
}
form .but {
background: #71a5b0;
border: none;
color: #333;
margin: 20px auto;
display: block;
width: 200px;
height: 40px;
color: #fff;
}
.details_a {
margin: 30px 0 50px;
}
.details_a .pic {
width: 26%;
float: left;
}
.details_a .pic img {
width: 100%;
}
.details_a .text {
float: right;
width: 72%;
}
.details_a .text h2 {
font-size: 20px;
}
.details_a .text p {
font-size: 14px;
line-height: 26px;
color: #333;
}
.details h1 {
font-size: 20px;
color: #333;
text-align: center;
padding: 25px 0;
border-bottom: 1px solid #ccc;
}
.details .text {
line-height: 26px;
color: #333;
font-size: 16px;
padding:20px 0;
}
21年程序员总结给编程菜鸟的16条忠告
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!
2.💗【👇🏻👇🏻👇🏻关注我| 💬获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.