RSS 登录

ggmmcc的折腾圈

头像
愿世界安康,愿你我皆好
视觉还原小技巧!CSS 实现角标效果
  • ggmmcc 工作中

    圈主 LV1 更新于:6个月前
    tag{
      border-radius: 4px 4px 4px 0px;
      color: #fff;
      padding: 2px 6px;
      font-size: 10px;
      line-height: 16px;
      background: linear-gradient(to right bottom, rgba(255, 255, 255, 0.4), transparent) var(--bg, #EA3447);
      background-blend-mode: soft-light;
    }
    tag::before{
      content: '';
      position: absolute;
      width: 3px;
      height: 3px;
      left: 0;
      bottom: -3px;
      background-color: inherit;
      filter: brightness(.7);
      clip-path: polygon(0 0, 100% 0, 100% 100%);
    }

    6个月前

    通过 Windows 10 发布
看时间不是为了起床,而是看还能睡多久。 - 毒汤
ggmmcc
6个月前
游客 已回
6个月前
官方回复我也觉得好记




图片放大