Skip to content

Commit

Permalink
animation 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
sungjea713 committed Aug 2, 2019
1 parent c7a4cee commit 8de2dbb
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
23 changes: 23 additions & 0 deletions styles/image_position.css
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,29 @@ body

}

#imgRadarGrid
{
position: absolute;
top: 145px;
left: 250px;

}

#imgRadarBeam
{
position: absolute;
/*top: 145px;
left: 250px; */
top: 173px;
left: 278px;
animation: rotateBeam 2s infinite;
}

@keyframes rotateBeam
{
100% {transform: rotate(720deg);}
}

#GridProperty
{
position: absolute;
Expand Down
2 changes: 2 additions & 0 deletions test.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
<div id="IncabinBody">
<div id="RealtimeView">
<img id="imgCar" src="images/CAR.png" >
<img id="imgRadarBeam" src="images/RADAR_BEAM.png" >
<img id="imgRadarGrid" src="images/RADAR_GRID.png" >
</div>
<div id="GridProperty">
<div id = "GridSubProperty">
Expand Down

0 comments on commit 8de2dbb

Please sign in to comment.