楽天カード

コピーのアイコン

カテゴリ動作
季節特集
<span class="dli-copy"><span></span></span>
.dli-copy {
  display: inline-block;
  vertical-align: middle;
  color: #333;
  line-height: 1;
  position: relative;
  width: 0.63em;
  height: 0.9em;
  background: #fff;
  border: 0.1em solid currentColor;
  border-radius: 0.1em;
  box-sizing: content-box;
  box-shadow: -0.2em 0.2em 0 -0.1em #fff, -0.2em 0.2em 0 0 currentColor;
}

.dli-copy > span {
  content: '';
  position: absolute;
  top: -0.1em;
  left: 50%;
  width: 0.315em;
  height: 0.315em;
  border: 0.1em solid currentColor;
  border-top: 0;
  border-right: 0;
  border-radius: 0 0 0 0.1em;
  box-sizing: content-box;
  overflow: hidden;
}

.dli-copy > span::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 0.44548em;
  height: 0.1em;
  background: currentColor;
  transform: rotate(45deg);
  transform-origin: left top;
  box-shadow: 0 -0.1575em 0 0.1575em #fff;
}

Recommend

同じカテゴリのアイコン

楽天マガジン
  1. CSS LABORATORY
  2. 動作
  3. コピー

カテゴリ

お気に入りリストに追加しました

お問い合わせを送信しました