这段代码怎么错了呢?
来源:2-12 animation-delay
慕用9253382
2017-09-30 15:38:38
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>2-2</title>
<style type="text/css">
div {
font-family: 'Microsoft Yahei';
font-size: 60px;
font-weight: bold;
line-height: 600px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 800px;
height: 600px;
margin: auto;
text-align: center;
border: 5px solid #000;
border-radius: 50%;
animation-name:banner;
animation-duration:5s;
}
}
@keyframe banner{
from{opacity:1;}
to{opacity:0.5;}
}
</style>
</head>
<body>
<div>大家好,欢迎来到慕课网!</div>
</body>
</html>
1回答
怎么都被占用了呢
2017-09-30
单词写错了,下次要认真
相似问题