蛋糕网页设计欣赏 第1篇
1.网页作品简介
:HTML期末大学生网页设计作业 A+水平 ,喜欢的可以下载,文章页支持手机PC响应式布局。
3.网页作品技术
:Div+CSS、鼠标滑过特效、Table、导航栏效果、banner、表单、二级三级页面等,视频、 音频元素 、Flash,同时设计了logo(源文件),基本期末作业所需的知识点全覆盖。
蛋糕网页设计欣赏 第2篇
代码如下(节选示例):
......
代码如下(节选示例):
.flexslider { margin: 0px auto 20px; position: relative; width: 100%; height: 482px; overflow: hidden; zoom: 1; min-width: 1200px; } .flexslider .slides li { width: 100%; height: 100%; } .flex-direction-nav a { width: 70px; height: 70px; line-height: 99em; overflow: hidden; margin: -35px 0 0; display: block; background: url(../images/) no-repeat; position: absolute; top: 50%; z-index: 10; cursor: pointer; opacity: 0; filter: alpha(opacity=0); -webkit-transition: all .3s ease; border-radius: 35px; }
.flex-direction-nav .flex-next { background-position: 0 -70px; right: 0; }
.flex-direction-nav .flex-prev { left: 0; }
.flexslider:hover .flex-next { opacity: ; filter: alpha(opacity=25); }
.flexslider:hover .flex-prev { opacity: ; filter: alpha(opacity=25); }
.flexslider:hover .flex-next:hover, .flexslider:hover .flex-prev:hover { opacity: 1; filter: alpha(opacity=50); }
.flex-control-nav { width: 100%; position: absolute; bottom: 10px; text-align: center; }
.flex-control-nav li { margin: 0 2px; display: inline-block; zoom: 1; *display: inline; }
.flex-control-paging li a { background: url(../images/) no-repeat 0 -16px; display: block; height: 16px; overflow: hidden; text-indent: -99em; width: 16px; cursor: pointer; }
.flex-control-paging li , .flex-control-paging a { background-position: 0 0; }
.flexslider .slides a img { width: 100%; height: 482px; display: block; }
/*主页内容*/
.content { position: relative; width: 1200px; margin: 0 auto; }
.ban-boot { float: left; margin-top: 60px; width: 100%; height: 196px; }
.ban-zs { left: 3px; width: 390px; height: 196px; float: left; margin: 0 5px; }
.recommand { float: left; width: 100%; }
.rec-nav { float: left; margin-top: 60px; width: 100%; left: -1px; height: 48px; line-height: 48px; color: #FAAA00; border-bottom: 2px solid #FAAA00; }
.rec-nav span { font-size: 12px; margin-left: 10px; color: #999999; }
.rec-cont { float: left; width: 100%; height: 660px; margin-top: 40px; }
.rec-left { float: left; width: 320px; height: 660px; }
.rec-left img{ width: 100%; height: 100%; object-fit: cover; }
.rec-right { float: left; width: 880px; height: 660px; }
.rcr { float: left; width: 270px; height: 330px; margin-left: 23px; }
.rcr-top { width: 260px; height: 200px; margin-left: 10px; transition: all ; }
.rcr-bot { width: 260px; height: 130px; margin: 0 5px; }
.rb-top { width: 260px; height: 30px; text-align: center; font-size: 16px; border-bottom: 1px dashed #999999; }
.second_P { padding-top: 15px; width: 260px; height: 20px; text-align: center; }
.fk-prop, .fk-prop-p { font-size: 12px; color: #FAAA00; }
.fk-prop-price { color: #FAAA00; font-size: 18px; }
.second_Marketprice { color: #767676; font-size: 12px; text-decoration: line-through; }
.buy { float: left; width: 100%; margin-top: 15px; height: 33px; line-height: 33px; text-align: center; }
......
代码如下(节选示例):
$( (function($, window, document, undefined) { Slider = function(container, options) { /* options = { auto: true, time: 3000, event: 'hover' | 'click', mode: 'slide | fade', controller: $(), activeControllerCls: 'className', exchangeEnd: $.noop } */
_use strict_; //stirct mode not support by IE9-
if (!container) return;
var options = options || {}, currentIndex = 0, cls = , delay = , isAuto = , controller = , event = , interval, slidesWrapper = ().first(), slides = (), length = , childWidth = (), totalWidth = childWidth * ;
function init() { var controlItem = ();
mode();
event == _hover_ ? controlItem .mouseover(function() { stop(); var index = $(this).index();
play(index, ); }) .mouseout(function() { isAuto && autoPlay(); }) : (function() { stop(); var index = $(this).index();
play(index, ); isAuto && autoPlay(); });
isAuto && autoPlay(); }
//animate mode function mode() { var wrapper = ().first();
== _slide_ ? (totalWidth) : wrapper .children() .css({ position: _absolute_, left: 0, top: 0 }) .first() .siblings() .hide(); }
//auto play function autoPlay() { interval = setInterval(function() { triggerPlay(currentIndex); }, ); }
//trigger play function triggerPlay(cIndex) { var index;
cIndex == length - 1 ? (index = 0) : (index = cIndex + 1); play(index, ); }
//play function play(index, mode) { (true, true); (true, true);
mode == _slide_ ? (function() { if (index > currentIndex) { ( { left: _-=_ + (index - currentIndex) * childWidth + _px_ }, delay ); } else if (index < currentIndex) { ( { left: _+=_ + (index - currentIndex) * childWidth + _px_ }, delay ); } else { return; } })() : (function() { if ((_:visible_).index() == index) return; slidesWrapper .children() .fadeOut(delay) .eq(index) .fadeIn(delay); })();
try { (_._ + cls).removeClass(cls); controller .children() .eq(index) .addClass(cls); } catch (e) {}
currentIndex = index;
&& typeof == _function_ && (this, currentIndex); }
//stop function stop() { clearInterval(interval); }
//prev frame function prev() { stop();
currentIndex == 0 ? triggerPlay(length - 2) : triggerPlay(currentIndex - 2);
isAuto && autoPlay(); }
//next frame function next() { stop();
currentIndex == length - 1 ? triggerPlay(-1) : triggerPlay(currentIndex);
isAuto && autoPlay(); }
//init init();
//expose the Slider API return { prev: function() { prev(); }, next: function() { next(); } }; }; })(jQuery, window, document) );
......
蛋糕网页设计欣赏 第3篇
常见网页设计作业题材有 个人、 美食、 公司、 学校、 旅游、 电商、 宠物、 电器、 茶叶、 家居、 酒店、 舞蹈、 动漫、 明星、 服装、 体育、 化妆品、 物流、 环保、 书籍、 婚纱、 军事、 游戏、 节日、 戒烟、 电影、 摄影、 文化、 家乡、 鲜花、 礼品、 汽车、 其他
等网页设计题目, A+水平作业
, 可满足大学生网页大作业网页设计需求, 喜欢的可以下载!