css布局实现愤怒的小鸟代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现愤怒的小鸟代码

代码标签: 愤怒 小鸟

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开


<!DOCTYPE html>
<html lang="en" >

<head>

  <meta charset="UTF-8">
  

  
  
  
<style>
body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: #69e9f0;
}

.bird {
  display: flex;
  justify-content: center;
  width: 100px;
  height: 100px;
  position: relative;
  transform: scale(3);
}

.bird * {
  position: absolute;
  box-sizing: border-box;
}

.head {
  height: 88px;
  width: 90px;
  border-radius: 200px 200px 183px 183px;
  background: #d5002c;
  border: 2px solid #000;
  overflow: hidden;
  box-shadow: inset 4px -5px 0px -3px rgba(0, 0, 0, 0.1);
}

.eyes {
  width: 40px;
  height: 20px;
  top: 30px;
  right: 9px;
}

.eye {
  height: 20px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid.........完整代码请登录后点击上方下载按钮下载查看

网友评论0