css 实现div 右上角加三角形

图片[1]-css 实现div 右上角加三角形-楊仙森万事坞
.el-row 为框框 class

.el-row::before {
    content: "";
    width:0;
    height: 0;
    border:60px solid transparent;
    border-right:60px solid #e3e3e3;
    transform: rotate(135deg);
    position: absolute;
    right: -61px;
    top: -61px;
    cursor: pointer;
  }
 .el-row::after {
    content: "信息化";
    font-size: 12px;
    width: 50px;
    height: 40px;
    color: #7e7e7e;
    transform: rotate(45deg);
    position: absolute;
    right: 13px;
    top: 16px;
    font-weight: bold;
    letter-spacing:2px;
    cursor: pointer;
  }

 

温馨提示:本文最新于2022-07-23 17:23:49进行了更新,某些文章内容具有时效性,若失效或有错误,请在下方留言
© 版权声明
THE END
点赞6投币 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容