Commit 9faab06c authored by liujiangnan's avatar liujiangnan

feat: 机器人样式与定位

parent f998bf1d
...@@ -538,7 +538,6 @@ body { ...@@ -538,7 +538,6 @@ body {
background-color: #3d992f; background-color: #3d992f;
width: 100%; width: 100%;
height: 100%; height: 100%;
z-index: 100;
display: none; display: none;
} }
...@@ -729,17 +728,18 @@ body { ...@@ -729,17 +728,18 @@ body {
.robot{ .robot{
position: absolute; position: absolute;
width: 226px; width: 1.13rem;
height: 380px; height: 1.80rem;
background: url(../lib/images/robot.png) no-repeat; background: url(../lib/images/robot.png) no-repeat;
background-position: 0px 0px; background-position: 0rem 0rem;
background-size: 33.90rem 1.80rem;
z-index: 400; z-index: 400;
bottom: 0.3rem; bottom: 0.3rem;
left: 0.3rem; left: 0.3rem;
animation: robot 1.5s steps(30) infinite; animation: robot 2.5s steps(30) infinite;
} }
@keyframes robot{ @keyframes robot{
0% {background-position-x: 0px; background-position-y: 0px;} 0% {background-position-x: 0rem; background-position-y: 0rem;}
100% {background-position-x: -6780px; background-position-y: 0px;} 100% {background-position-x: -33.90rem; background-position-y: 0rem;}
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment