纪念一代传奇科比

代码语言:html

所属分类:其他

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

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">

<style>
body {
  background-color: #14091d;
}

.purple {
  fill: #41225d;
}

.white {
  fill: white;
}

.yellow {
  fill: #d7a611;
}

.ball {
  fill: #d06a0f;
}

.numbers {
  fill: white;
  stroke: #41225d;
  stroke-width: 4.167;
}

.lakers {
  fill: white;
  stroke: #41225d;
  stroke-width: 2;
}

.skin {
  fill: #603b17;
}

.card {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
          align-items: center;
  -webkit-box-pack: center;
          justify-content: center;
}
.card svg {
  height: 100vh;
  -webkit-transition: all .5s;
  transition: all .5s;
  cursor: pointer;
}
.card svg:hover .purple {
  fill: #d7a611;
}
.card svg:hover .yellow {
  fill: #41225d;
}
.card svg:hover .skin {
  fill: #804d1b;
}
</style>

</head>
<body translate="no">
<div class="card">
<svg id="kobe-bryant" viewBox="0 0 668 921" style="enable-background:new 0 0 668 921;" xml:space="preserve">
<path class="purple" d="M50,0h568c27.6,0,50,22.4,50,50v821c0,27.6-22.4,50-50,50H50c-27.6,0-50-22.4-50-50V50  C0,22.4,22.4,0,50,0z" />
<rect x="110" y="90" class="white" width="441" height="732" />
<path class="yellow" d="M202,485.4l-39.8,117.9l-2.2,34.6c0,0-9.6-1.4-21.7,44c-8.1,20.7-14.2,45-9.3,63.6  c6.9,27.5,59.7,6.6,59.7,6.6s14.7-9.2,8.1-3.........完整代码请登录后点击上方下载按钮下载查看

网友评论0