components
This commit is contained in:
parent
304d578b54
commit
6fb4aabcba
344 changed files with 669 additions and 406 deletions
15
7-animation/2-css-animations/train.view/index.html
Normal file
15
7-animation/2-css-animations/train.view/index.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<!doctype html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<img class="train" src="https://js.cx/clipart/train.gif" onclick="this.style.left='450px'">
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
8
7-animation/2-css-animations/train.view/style.css
Normal file
8
7-animation/2-css-animations/train.view/style.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
.train {
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
width: 177px;
|
||||
height: 160px;
|
||||
left: 0px;
|
||||
transition: left 5s cubic-bezier(0.0, 0.5, 0.5, 1.0);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue