div+css布局实现热气腾腾杯中咖啡动画效果代码
代码语言:html
所属分类:动画
代码描述:div+css布局实现热气腾腾杯中咖啡动画效果代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<style>
.container {
position: relative;
top: 50px;
}
.cup {
position: relative;
width: 280px;
height: 300px;
background: linear-gradient(to right, #f9f9f9, #c6c6c6 60%, #c1c1c1);
border-radius: 0 0 40% 40%;
}
/* holds the rim and inside of the cup and the 'tea.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0