css实现皮卡丘布局效果
代码语言:html
所属分类:布局界面
代码描述:css实现皮卡丘布局效果
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
/*#FAD61D pikachu
#E19720 shadow
#F62D14 pokeball
#811E09 shadow*/
.container {
margin:auto;
top:0;
right:0;
bottom:0;
left:0;
width:100vw;
height:100vh;
}
body {
background: #3b4cca;
}
.pokeball-top {
background-color: white;
width: 300px;
height: 150px;
border: 5px solid black;
border-radius: 150px 150px 0 0;
position: absolute;
top: 130px;
left: 300px;
}
.pokeball-bottom {
background-color: red;
width: 300px;
height: 150px;
border: 5px solid black;
border-radius: 0 0 150px 150px;
position: absolute;
top: 290px;
left: 300px;
}
.btn {
background: white;
width: 50px;
height: 50px;
border: 6px solid black;
border-radius: 50%;
position: relative;
top: -25px;
left: .........完整代码请登录后点击上方下载按钮下载查看
















网友评论0