vues实现人物脸型自定义参数效果代码

代码语言:html

所属分类:其他

代码描述:vues实现人物脸型自定义参数效果代码

代码标签: vues 人物 脸型 自定义 参数

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

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

<head>

  <meta charset="UTF-8">

  
  <link rel='stylesheet' href='https://fonts.googleapis.com/css?family=Noto+Sans+TC:700|Titillium+Web:700,900'>
  
<style>
html, body {
  margin: 0;
  display: flex;
  align-items: center;
  background-color: #3b00ff;
  flex-direction: column;
  font-family: "Titillium Web", "Noto Sans TC";
}

.tac {
  text-align: center;
}

.editing {
  text-align: center;
  color: #fff;
  top: 3px;
  left: 8px;
  cursor: pointer;
}

h1 {
  color: #fff;
  text-align: center;
  margin-bottom: 5px;
}

.characterbox .characterType {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}
.characterbox .characterType .type {
  flex: 1;
  text-align: center;
  font-size: 80px;
  color: #fff;
}
.characterbox .characterType .character {
  flex: 1;
  margin: 0 50px;
}
.characterbox .characterType .control {
  flex: 1;
}
.characterbox .characterType .face {
  width: 80px;
  height: 100px;
  border-radius: 30%;
  position: relative;
  display: flex;
  justify-content: center;
}
.characterbox .characterType .face.black {
  background-color: #774d23;
}
.characterbox .characterType .face.white {
  background-color: #ffdfbd;
}
.characterbox .characterType .face.yellow {
  background-color: #f7c691;
}
.characterbox .characterType .face.circle {
  width: 80px;
  height: 100px;
  border-radius: 80% 80% 100% 100%;
}
.characterbox .character.........完整代码请登录后点击上方下载按钮下载查看

网友评论0