日期: 2022-09-20 13:51:07 浏览数:2

上往建站提供服务器空间服务商,百度快照排名,网站托管,百度推广运营,致力于设计外包服务与源代码定制开发,360推广,搜狗推广,增加网站的能见度及访问量提升网络营销的效果,主营:网站公司,百度推广公司电话,官网搭建服务,网站服务企业排名,服务器空间,英文域名等业务,专业团队服务,效果好。
运城网站推广【运城办理400电话】运城SEO优化、运城微信公众号APP客户端小程序开发、运城网站托管、运城APP开发

运城,简称“运”,山西省地级市,位于山西省西南部,北依吕梁山与临汾市接壤,东峙中条山和晋城市毗邻,西、南与陕西省渭南市、河南省三门峡市隔黄河相望 [1] 。介于东经110°15'—112°04',北纬34° 35'—35°49'之间,东西长201.87千米,南北宽127.47千米,总面积13968平方千米,占山西省总面积的9%。 [2]
运城市古称“河东”,因“盐运之城”得名,是中华文明的重要发祥地之一 [3] 。华夏民族的始祖黄帝、炎帝、蚩尤,尧、舜、禹,都相继活动在河东大地上。尧初都蒲坂,后迁平阳,舜都蒲坂,禹都安邑,中国第一个奴隶制社会——夏也是在这里诞生 [4] 。运城市垣曲县的“中华世纪曙猿”化石把人类起源向前推进了1000多万年。芮城县的西侯渡文化遗址,是考古界发现的人类最早用火的实证。诞生了春秋商人猗顿、三国名将关羽、初唐诗人王勃、中唐文人柳宗元、史学大家司马光、戏曲名家关汉卿等文武俊秀,闻喜裴氏家族曾出过59位宰相、59位大将军,史称“将相接武、公侯一门”。形成了关公文化、根祖文化、盐文化、德孝文化等具有鲜明特色的地域文化。 [5]
2019年,运城市辖1个市辖区、2个县级市、10个县 [6] ,常住人口为537.26万人,常住人口城镇化率达到51.24%。 [7]
2020年,运城市实现地区生产总值1643.6亿元,比2019年增长5.2%。 [81]
到底什么是GSAP?
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
</head>
<style>
body {
background-color:black;
margin: 0;
padding: 0;
font-family: Signika Negative, sans-serif;
font-weight: 300;
}
html, body {
height: 100%;
}
#demo {
display:table;
width:100%;
height:100%;
}
#bg {
position:relative;
display:table-cell;
height: 100%;
overflow:hidden;
text-align: center;
vertical-align: middle;
}
#bg p{
position: absolute;
color: #777;
top: 0px;
padding: 0px 20px;
text-align: left;
z-index: -1000;
}
#box {
color: black;
font-size:24px;
padding: 10px 16px;
border: 2px solid black;
background: #9af600;
background: -webkit-linear-gradient(top, rgba(184,225,252,1) 0%,rgba(169,210,243,1) 10%,rgba(144,186,228,1) 25%,rgba(144,188,234,1) 37%,rgba(144,191,240,1) 50%,rgba(107,168,229,1) 51%,rgba(162,218,245,1) 83%,rgba(189,243,253,1) 100%);
display:inline-block;
border-radius: 10px;
}
#controls {
position:absolute;
color: #999;
width: 100%;
bottom: 20px;
text-align: center;
}
button {
margin: 2px;
padding: 4px 6px;
}
</style>
<body>
<div id="demo">
<div id="bg">
<p>tweenlite,是webgame开发人员比较常用的一个缓动库。
先简单介绍它的优点吧。
1.高效,性能不会差。
2.体积小,用到项目中,你的文件大小增加了3-4k。
3.容易使用,常用的函数就那么几个</p>
<div id="box">TweenMax.js 应用</div>
<div id="controls">
<button id="rotationX">X轴旋转</button>
<button id="rotationY">Y轴旋转</button>
<button id="rotation">转圈</button>
<button id="wander">漫游</button>
</div>
</div>
</div>
</body>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.11.2/TweenMax.min.js"></script>
<script>
var $box = $("#box"),
$container = $("#bg"),
rotation = 0,
rotationX = 0,
rotationY = 0,
wanderTween, ignoreRollovers;
//设置3D容器视角
TweenLite.set($container, {perspective: 500});
//取消Z轴,使旋转更加有趣。
TweenLite.set($box, {transformOrigin:"center center -150px"});
//使用scaleX和scaleY微微颤动起来
TweenMax.to($box, 1.2, {scaleX:0.8, scaleY:0.8, force3D:true, yoyo:true, repeat:-1, ease:Power1.easeInOut});
//翻转、旋转盒子但要避免过度旋转,我们会降低滚动在第一秒的动画。
$box.hover(function() {
if (!ignoreRollovers) {
rotation += 360;
ignoreRollovers = true;
TweenLite.to($box, 2, {rotation:rotation, ease:Elastic.easeOut});
TweenLite.delayedCall(1, function() {
ignoreRollovers = false;
});
}
}, function() {});
$("#rotation").click(function() {
rotation += 360;
TweenLite.to($box, 2, {rotation:rotation, ease:Elastic.easeOut});
});
$("#rotationX").click(function() {
rotationX += 360;
TweenLite.to($box, 2, {rotationX:rotationX, ease:Power2.easeOut});
});
$("#rotationY").click(function() {
rotationY += 360;
TweenLite.to($box, 2, {rotationY:rotationY, ease:Power1.easeInOut});
});
$("#wander").click(function() {
if (wanderTween) {
wanderTween.kill();
wanderTween = null;
TweenLite.to($box, 0.5, {x:0, y:0});
} else {
wander();
}
});
//随机选择一个在屏幕上和动画,然后做一遍,又一遍。
function wander() {
var x = (($container.width() - $box.width()) / 2) * (Math.random() * 1.8 - 0.9),
y = (($container.height() - $box.height()) / 2) * (Math.random() * 1.4 - 0.7);
wanderTween = TweenLite.to($box, 2.5, {x:x, y:y, ease:Power1.easeInOut, onComplete:wander});
}
</script>
</html>
这里是相关网站,大家可以学习一下:http://greensock.com/tweenlite
明天给大家介绍下他的用法。
运城网站推广【运城办理400电话】运城SEO优化、运城微信公众号APP客户端小程序开发、运城网站托管、运城APP开发
上往建站提供搭建网站,域名注册,官网备案服务,网店详情页设计,企业网店,专业网络店铺管理运营全托管公司咨询电话,服务器空间,微信公众号托管,网页美工排版,致力于域名申请,竞价托管,软文推广,全网营销,提供标准级专业技术保障,了却后顾之忧,主营:虚拟主机,网站推广,百度竞价托管,网站建设,上网建站推广服务,网络公司有哪些等业务,专业团队服务,效果好。
服务热线:400-111-6878 手机微信同号:18118153152(各城市商务人员可上门服务)