css布局实现曼达洛人头盔效果代码

代码语言:html

所属分类:布局界面

代码描述:css布局实现曼达洛人头盔效果代码

代码标签: 曼达 洛人 头盔 效果

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


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

<head>

  <meta charset="UTF-8">
  

  
<style>
:root {
  --gray: #403a3a;
  --black: #121011;
}
body {
  background: var(--black);
  margin: 0;
  padding: 0;
  font-family: Mandalore, sans-serif;
  box-sizing: border-box;
}
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100%;
  flex-direction: column;
}
.casco-top {
  background: var(--gray);
  width: 150px;
  height: 75px;
  border-radius: 100px 100px 0 0;
  box-shadow: inset 0px 3px 3px grey, inset 21px 0 0px rgb(18 16 17 / 87%);
  position: relative;
}
.casco-top:before {
  content: "";
  top: 20px;
  right: 10px;
  width: 38px;
  height: 30px;
  background: rgb(128 128 128 / 29%);
  border-radius: 50%;
 .........完整代码请登录后点击上方下载按钮下载查看

网友评论0