目录
欢迎光临仙女的网页世界!这里有各行各业的Web前端网页制作的案例,样式齐全新颖,并持续更新!感谢CSDN,提供了这么好的知识学习、技术交流的平台,让我们在这里相遇,小伙伴们,来吧,让我们一起开启Web前端网页制作的奇妙之旅!
说起Web前端,大学开启这扇技术之门以来,一切起始于兴趣爱好和专业钻研。自16年中大研究生毕业步入社会工作以来,才真正开启了这段奇妙的旅行!在一次次需求分析、成品交付和客户服务的过程中,进行了一次又一次的知识应用的实践和验证。学以致用,实践出真知!从最初的Web前端的迷途小书童到如今的技术专家,多年的服务客户和服务大学生的实践经验,早就驾轻就熟!
奇妙之处在于:当你得到客户的认可、公司的赞赏和同事的敬仰,尤其是业余时间为广大的大学生提供各种各样的帮助和指引,学弟学妹们一致好评,认为学姐是他们的榜样的时候,你会发现,知识的应用除了体现自身价值,还能实现自我满足!这种感觉是相当奇妙的!
我在CSDN的奇妙旅行,除了学习其他知识和持续发布优质的网页实例之外,后续时间允许的情况下,我会发布前端相关知识的学习和应用的教程。目前提供的服务类型包括:Web前端网页制作的专题研究辅导、网页定制、大学生课程作业辅导、毕设辅导、网页模板源码、教程资料、技术咨询,以及其他有偿或无偿的服务。如有需要,欢迎随时咨询!能满足你们所需,是我的荣幸!
非常感谢大家的关注和点赞,你们的关注和点赞是我持续创作的动力,谢谢!
一、网页概述
本实例应用html+css+js: 导航菜单、图片轮翻、三级页面、无缝滚动插件、鼠标滑动特效、等。适用于大学生网页课程作业设计、公司网页制作等。响应式布局可以根据不同的设备屏幕大小自动调整页面布局,提高用户体验;本网页支持如Dreamweaver、HBuilder、Text 、Vscode 等任意html编辑软件进行编辑修改;支持包括IE、Firefox、Chrome、Safari主流浏览器浏览。
二、网页文件
本网页实例共包含7个页面:
三、网页效果
以下是本篇文章正文内容,下面案例仅供参考(节选示例):
四、代码展示
1.html
<!DOCTYPE html>
<html lang="zh-cn">
<head>
<!-- CSS 禁止复制和选取 -->
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1" name="viewport">
<meta content="_csrf" name="csrf-param">
<meta content="" name="csrf-token">
<title></title>
<meta content="" name="Keywords">
<meta content="" name="Description">
<meta content=" " property="og:title"/>
<meta content="" property="og:description"/>
<meta content="" property="og:image"/>
<script>
var static0HttpUrl = '';
</script>
<!-- =========================
Common Assets
============================== -->
<link href="static/css/style.css" rel="stylesheet">
<link href="static/css/vendor.css-ver=v2.161127.css" rel="stylesheet">
<link href="static/css/swiper.min.css" rel="stylesheet">
<!-- =========================
Customs Assets
============================== -->
<link href="static/css/module_base.css-ver=v2.161127.css" rel="stylesheet">
<script src="static/js/vendor.js-ver=v2.161127">
</script>
</head>
<body class="" οncοntextmenu="return false">
<div class="block-main" data-model="index" data-widget-type="pageBackground" id="block-main">
<header class="block-header" id="block-header">
<div class="container-outer outer-header outer-header-2 container-outer-1483523554-484268-0" data-model="common/header" id="container-outer-1483523554-484268-0">
<div class="container">
<div class="row">
<div class="col-sm-4 col-md-4" data-model="common/header" id="col-md-1483523554-508900-0">
<div class="edit-wrap wrap-logo logo-1483523554-325110-8" data-model="common/header" data-widget-type="logo" id="logo-1483523554-325110-8">
<div class="edit-wrap-content">
<div class="site-widget-bd fm-tal">
<a class="logo-link" data-url-name="Home" data-url-type="1" data-url-value="/" href="index.htm" target="" title="">
<img alt="" class="logo-img" data-hover-effect="default" data-load-effect="default" src="static/images/MYTBB0E3D3858myt586CC616566B6.png" title=""/>
</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-3" data-model="common/header" id="col-md-1483579855-931179-0">
<div class="edit-wrap wrap-fontIcon fontIcon-1483579886-281886-6 fontIcon-style-1" data-model="common/header" data-widget-type="fontIcon" id="fontIcon-1483579886-281886-6">
<div class="edit-wrap-content">
<div class="site-widget-bd fm-tar">
<a class="icon-link" data-hover-effect="default" data-load-effect="default" data-template-id="1">
<i class="fa fa-phone">
</i>
</a>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-2" data-model="common/header" id="col-md-1483580461-257575-0">
<div class="edit-wrap wrap-text text-1483580465-731765-2" data-model="common/header" data-widget-type="text" id="text-1483580465-731765-2">
<div class="edit-wrap-content">
<div class="site-widget-bd fm-tal">
<div class="edit-wrap-text text-1483580465-553623-2-3" data-hover-effect="default" data-load-effect="default" data-model="common/header" id="text-1483580465-553623-2-3">
<span style="font-family:Microsoft Yahei,Tahoma,Arial,Helvetica,sans-serif;">
<span style="color:#ffffff;">
联系我们
<br>
0512-57995109
</br>
</span>
</span>
</div>
</div>
</div>
</div>
</div>
<div class="col-sm-12 col-md-3" data-model="common/header" id="col-md-1483580876-121134-0">
<div class="edit-wrap wrap-share share-1483580904-494072-3 share-style-1" data-model="common/header" data-widget-type="share" id="share-1483580904-494072-3">
<div class="edit-wrap-content">
<div class="site-widget-bd fm-tar">
<div class="edit-share-list j-ea-control" data-eaaction="shareFix" data-eastatus="false">
<div class="share-icon-32 social-icon-corner share-layout-1 social-icon-vert social-follow-vert-text ">
<a class="share-link facebook" href="" title="FaceBook">
<i class="ico">
</i>
<span class="text">
FaceBook
</span>
</a>
<a class="share-link googleplus" href="" title="Google+">
<i class="ico">
</i>
<span class="text">
Google+
</span>
</a>
<a class="share-link linkedin" href="" title="Linked In">
<i class="ico">
</i>
<span class="text">
Linked In
</span>
</a>
<a class="share-link sinaweibo" href="" title="新浪微博">
<i class="ico">
</i>
<span class="text">
新浪微博
</span>
</a>
<a class="share-link twitter" href="" title="Twitter">
<i class="ico">
</i>
<span class="text">
Twitter
</span>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="container-outer outer-header outer-header-2 outer-header-bg-2 container-outer-1483523554-970446-1" data-model="common/header" id="container-outer-1483523554-970446-1">
<div class="container">
<div class="row">
<div class="col-sm-12 col-md-12 col-md-nav" data-model="common/header" id="col-md-1483523554-632226-1">
<div class="edit-wrap wrap-nav navigation-1483523554-726592-6 nav-style-1 slide-style-f1" data-model="common/header" data-widget-type="navigation" id="navigation-1483523554-726592-6">
<div class="edit-wrap-content">
<div class="site-widget-bd j-ea-control" data-eaaction="navMenuToggle" data-eastatus="false">
<div class="menu-toggle-btn">
<i class="fa fa-align-justify open-icon">
</i>
<i class="fa fa-close close-icon">
</i>
</div>
<ul class="ul-lev-1 clearfix">
<li class="li-lev-1 no-child">
<a class="a-lev-1" href="index.html" target="_blank">
<span class="ico-ctl">
</span>
网站首页
</a>
</li>
<li class="li-lev-1 no-child">
<a class="a-lev-1" href="products.html" target="_blank">
<span class="ico-ctl">
<i class="fa fa-thumbs-o-up fa-fw">
</i>
</span>
产品中心
</a>
</li>
<li class="li-lev-1 no-child">
<a class="a-lev-1" href="news.html" target="_blank">
<span class="ico-ctl">
</span>
新闻中心
</a>
</li>
<li class="li-lev-1 no-child">
<a class="a-lev-1" href="contact-us.html" target="_blank">
<span class="ico-ctl">
</span>
联系我们
</a>
</li>
<li class="li-lev-1 no-child">
<a class="a-lev-1" href="about-us.html" target="_blank">
<span class="ico-ctl">
</span>
关于我们
</a>
</li>
</ul>
<!-- nav end -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
2.CSS
代码如下(节选示例):
body{font-family:"Microsoft YaHei","微软雅黑","宋体"}.edit-wrap .edit-title{}.edit-wrap .edit-title:hover{}.edit-wrap{}.edit-wrap div[class^="edit-setting-"] a:hover{color: #449d44;}
#container-outer-1483603617-254308-0{background-color:rgba(0, 0, 0, 0);background-image:url("../images/bg.png");background-attachment:scroll;background-size:cover;background-repeat:repeat;padding-top:70px;padding-bottom:70px;background-position:center;}#container-outer-1483603617-254308-0 .row{background-color:rgba(0, 0, 0, 0);background-image:none;background-attachment:scroll;background-size:auto;background-repeat:repeat;}
#crumbs-1483603687-888951-0{background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(51, 51, 51);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(51, 51, 51);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(51, 51, 51);border-left-style:none;border-left-width:0px;border-right-color:rgb(51, 51, 51);border-right-style:none;border-right-width:0px;}#crumbs-1483603687-888951-0 .site-widget-bd{color:rgb(238, 238, 238);background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(137, 137, 137);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(137, 137, 137);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(137, 137, 137);border-left-style:none;border-left-width:0px;border-right-color:rgb(137, 137, 137);border-right-style:none;border-right-width:0px;}#crumbs-1483603687-888951-0 .site-widget-bd a{color:rgb(238, 238, 238);}
#text-1483603871-346955-9{background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(51, 51, 51);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(51, 51, 51);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(51, 51, 51);border-left-style:none;border-left-width:0px;border-right-color:rgb(51, 51, 51);border-right-style:none;border-right-width:0px;margin-bottom:2px;}#text-1483603871-346955-9 .site-widget-bd{color:rgb(137, 137, 137);background-color:rgb(238, 69, 71);padding-top:20px;padding-bottom:20px;padding-left:30px;padding-right:20px;background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(137, 137, 137);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(137, 137, 137);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(137, 137, 137);border-left-style:none;border-left-width:0px;border-right-color:rgb(137, 137, 137);border-right-style:none;border-right-width:0px;}
#quickNav-1483604891-713672-2{background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(51, 51, 51);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(51, 51, 51);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(51, 51, 51);border-left-style:none;border-left-width:0px;border-right-color:rgb(51, 51, 51);border-right-style:none;border-right-width:0px;padding-top:0px;padding-bottom:0px;margin-bottom:2px;}#quickNav-1483604891-713672-2 .site-widget-bd{color:rgb(255, 255, 255);background-color:rgb(47, 53, 59);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(137, 137, 137);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(137, 137, 137);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(137, 137, 137);border-left-style:none;border-left-width:0px;border-right-color:rgb(137, 137, 137);border-right-style:none;border-right-width:0px;padding:15px 40px;}#quickNav-1483604891-713672-2 .site-widget-bd a{color:rgb(255, 255, 255);}#quickNav-1483604891-713672-2 .site-widget-bd a:hover{color:rgb(238, 69, 71);}
#quickNav-1483605027-961245-3{background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(51, 51, 51);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(51, 51, 51);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(51, 51, 51);border-left-style:none;border-left-width:0px;border-right-color:rgb(51, 51, 51);border-right-style:none;border-right-width:0px;margin-bottom:2px;}#quickNav-1483605027-961245-3 .site-widget-bd{color:rgb(255, 255, 255);background-color:rgb(47, 53, 59);padding:15px 40px;padding-bottom:15px;padding-left:40px;background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(137, 137, 137);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(137, 137, 137);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(137, 137, 137);border-left-style:none;border-left-width:0px;border-right-color:rgb(137, 137, 137);border-right-style:none;border-right-width:0px;}#quickNav-1483605027-961245-3 .site-widget-bd a{color:rgb(255, 255, 255);}#quickNav-1483605027-961245-3 .site-widget-bd a:hover{color:rgb(238, 69, 71);}
#quickNav-1483605203-486098-6{background-color:rgba(0, 0, 0, 0);background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(51, 51, 51);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(51, 51, 51);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(51, 51, 51);border-left-style:none;border-left-width:0px;border-right-color:rgb(51, 51, 51);border-right-style:none;border-right-width:0px;margin-bottom:2px;}#quickNav-1483605203-486098-6 .site-widget-bd{color:rgb(255, 255, 255);background-color:rgb(47, 53, 59);padding:15px 40px;padding-bottom:15px;padding-left:40px;background-image:none;background-size:auto;background-repeat:repeat;border-top-color:rgb(137, 137, 137);border-top-style:none;border-top-width:0px;border-bottom-color:rgb(137, 137, 137);border-bottom-style:none;border-bottom-width:0px;border-left-color:rgb(137, 137, 137);border-left-style:none;border-left-width:0px;border-right-color:rgb(137, 137, 137);border-right-style:none;border-right-width:0px;}#quickNav-1483605203-486098-6 .site-widget-bd a{color:rgb(255, 255, 255);}#quickNav-1483605203-486098-6 .site-widget-bd a:hover{color:rgb(238, 69, 71);}
...
3.JS
代码如下(节选示例):
+function ($) {
'use strict';
// TOOLTIP PUBLIC CLASS DEFINITION
// ===============================
var Tooltip = function (element, options) {
this.type = null
this.options = null
this.enabled = null
this.timeout = null
this.hoverState = null
this.$element = null
this.inState = null
this.init('tooltip', element, options)
}
Tooltip.VERSION = '3.3.5'
Tooltip.TRANSITION_DURATION = 150
Tooltip.DEFAULTS = {
animation: true,
placement: 'top',
selector: false,
template: '<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
trigger: 'hover focus',
title: '',
delay: 0,
html: false,
container: false,
viewport: {
selector: 'body',
padding: 0
}
}
Tooltip.prototype.init = function (type, element, options) {
this.enabled = true
this.type = type
this.$element = $(element)
this.options = this.getOptions(options)
this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
this.inState = { click: false, hover: false, focus: false }
if (this.$element[0] instanceof document.constructor && !this.options.selector) {
throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
}
var triggers = this.options.trigger.split(' ')
for (var i = triggers.length; i--;) {
var trigger = triggers[i]
if (trigger == 'click') {
this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
} else if (trigger != 'manual') {
var eventIn = trigger == 'hover' ? 'mouseenter' : 'focusin'
var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
this.$element.on(eventIn + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
}
}
this.options.selector ?
(this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
this.fixTitle()
}
Tooltip.prototype.getDefaults = function () {
return Tooltip.DEFAULTS
}
Tooltip.prototype.getOptions = function (options) {
options = $.extend({}, this.getDefaults(), this.$element.data(), options)
if (options.delay && typeof options.delay == 'number') {
options.delay = {
show: options.delay,
hide: options.delay
}
}
return options
}
Tooltip.prototype.getDelegateOptions = function () {
var options = {}
var defaults = this.getDefaults()
this._options && $.each(this._options, function (key, value) {
if (defaults[key] != value) options[key] = value
})
return options
}
Tooltip.prototype.enter = function (obj) {
var self = obj instanceof this.constructor ?
obj : $(obj.currentTarget).data('bs.' + this.type)
if (!self) {
self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
$(obj.currentTarget).data('bs.' + this.type, self)
}
if (obj instanceof $.Event) {
self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
}
if (self.tip().hasClass('in') || self.hoverState == 'in') {
self.hoverState = 'in'
return
}
...
五、总结
设计一个样式美观又人性化的网页,除了具备扎实的专业知识,还需具备美学和人机工程学等相关知识,优秀的网页应具备以下几个特点:
1.简洁实用
尽量以最高效率的方式将用户所要想得到的信息传送给他就是最好的,要去掉所有的冗余的东西;
2.使用方便
要满足使用者的要求,网页适合使用,显示出其功能美;
3.整体性好
围绕一个统一的目标设计,强调整体的功能性;
4.形象突出
尽量符合网页美的标准,能够使网站的形象得到最大限度的提升,追求雅俗共赏。页面用色协调,布局符合形式美的要求:布局有条理,充分利用美的形式,使网页富有可欣赏性,提高档次。
5.交互式强
发挥网络的优势,想方设法使每个使用者都参与到其中来。
六、更多推荐
【关注作者|获取更多源码|优质文章】;Web前端网页制作、大学生毕业设计辅导、期末大作业辅导、模板源码、技术咨询等,有兴趣的联系我!
您的支持是我创作的动力!看到这里就【点赞收藏博文】,Thanks!
更多优质博客文章、网页模板点击以下链接查阅:仙女网页设计-CSDN博客。