纯css布局实现一个烤面包机效果
代码语言:html
所属分类:布局界面
代码描述:纯css布局实现一个烤面包机效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
margin: 0;
padding: 0;
background-color: #ffdb60;
}
.mycanvas {
height: 510px;
width: 350px;
margin: auto;
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
}
.toaster {
background-color: #5abff2;
height: 90px;
width: 120px;
position: relative;
top: 210px;
left: 125px;
border-top-right-radius: 20px;
background-repeat: 20px 25px 0 0;
}
.cover {
background-color: #99ddff;
height: 90px;
width: 120px;
border-radius: 20px 25px 0 0;
position: relative;
right: 30px;
}
.b1,
.b2 {
background-color: #737373;
width: 12px;
height: 12px;
background-repeat: 50%;
border-radius: 50%;
position: relative;
}
.b1 {
top: 20px;
left: 50px.........完整代码请登录后点击上方下载按钮下载查看
网友评论0