renovations
This commit is contained in:
parent
05d35d0d16
commit
951cf3f2ec
152 changed files with 2527 additions and 2179 deletions
12
5-animation/2-css-transitions/train.view/index.html
Normal file
12
5-animation/2-css-transitions/train.view/index.html
Normal file
|
@ -0,0 +1,12 @@
|
|||
<!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>
|
9
5-animation/2-css-transitions/train.view/style.css
Normal file
9
5-animation/2-css-transitions/train.view/style.css
Normal file
|
@ -0,0 +1,9 @@
|
|||
.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