金木水火土双色调日历效果

代码语言:html

所属分类:布局界面

代码描述:金木水火土双色调日历效果

代码标签: 色调 日历 效果

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

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

<style>
@import url("https://fonts.googleapis.com/css?family=Josefin+Sans:600");
html,
body {
  width: 100%;
  height: 100%;
}
body {
  background-image: linear-gradient(45deg, #fecdd3, #503282);
  overflow: hidden;
}
* {
  box-sizing: border-box;
}
.flex-contatiner {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: flex;
  -webkit-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
          align-items: center;
  overflow: hidden;
}
.calendar-container {
  position: relative;
  width: 360px;
  height: 360px;
  box-shadow: 0 27px 24px 0 rgba(0,0,0,0.2), 0 40px 77px 0 rgba(0,0,0,0.22);
  overflow: visible;
}
.image-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: #503282;
}
.image {
  width: 100%;
  height: 100%;
  background-image: url("http://repo.bfw.wiki/bfwrepo/image/5d6539613d08b.png?x-oss-process=image/auto-orient,1/resize,m_fill,w_400,h_400,/quality,q_90");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  -webkit-filter: url("#duotone");
          filter: url("#duotone");
}
.calendar {
  position: absolute;
  width: 100%;
  height: 100%;
  margin-top: 10%;
  margin-left: 10%;
  padding-top: 15%;
  border: 10px solid #fff;
  font-family: 'Josefin Sans', sans-serif;
}
.calendar .month-title {
  position: absolute;
  top: -0.4em;
  left: -0.3em;
  margin: 0;
  font-size: 400px;
  line-height: 1;
  letter-spacing: 0;
  color: #fff;
  opacity: 0.15;
}
.calendar .calendar-table {
  position: absolute;
  width: 100%;
  height: 85%;
  border-collapse: collapse;
  color: #fff;
}
.calendar .calendar-table th,
.calendar .calendar-table td {
  text-align: center;
  font-size: 16px;
}
.calendar .calendar-table td {
  cursor: pointer;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.calendar .calendar-table td:not(.is-today) {
  opacity: 0.5;
}
.calendar .calendar-table td:hover {
  opacity: 1;
}
.calendar .is-today {
  opacity: 1;
  background-color: #fff;
  color: #503282;
}
</style>

</head>
<body translate="no">




<svg style="visibility:hidden;" width="0" height="0">
<filter id="duotone" color-interpolation-filters="sRGB"> <feColorMatrix type="matrix" values="0.7 0 0 0 0.3 0.........完整代码请登录后点击上方下载按钮下载查看

网友评论0