Add div when
Set in the div class attribute, selector and necessary div? Could you tell me why not add, there is no delay effect
& lt; ! Donctype html>
<meta charset="utf-8" & gt;The box model & lt;/title>
<style>
* {
margin:0;
padding:0;
}
The outer {
Height: 500 px;
Border - bottom: 10 px black solid;
overflow:hidden;
}
The outer div {
float:left;
height:100px;
text-align:center;
The font - size: 50 px;
margin-right:10px;
Width: 100 px;
border-radius:50%;
The line - height: 100 px;
Animation: ball 1 s recently linear infinite alternate;
}
Div. Box1 {
Background - color: # 1 af;
Animation - delay:. 1 s;
}
Div. Box2 {
Background - color: # 1 af;
Animation - delay:. 2 s;
}
Div. Box3 {
Background - color: # 1 af;
Animation - delay:. 3 s;
}
Div. Box4 {
Background - color: # 1 af;
Animation - delay:. 4 s;
}
Div. Box5 {
Background - color: # 1 af;
Animation - delay:. 5 s;
}
Div. Box6 {
Background - color: # 1 af;
Animation - delay:. 6 s;
}
Div. Box7 {
Background - color: # 1 af;
Animation - delay:. 7 s;
}
Div. Box8 {
Background - color: # 1 af;
Animation - delay:. 8 s;
}
Div. Box9 {
Background - color: # 1 af;
Animation - delay:. 9 s;
}
@ keyframes ball {
The from {
Margin - top: 0;
}
The to {
Margin - top: 400 px;
}
}
</style>