ICode9

精准搜索请尝试: 精确搜索
首页 > 其他分享> 文章详细

CSS卡券效果制作

2021-06-07 16:35:53  阅读:24  来源: 互联网

标签:repeat bottom gradient top right 10px 卡券 制作 CSS


<p class="coupon">
 <span>10000</span>SWT优惠券
</p>
.coupon {
  width: 300px;
  height: 100px;
  line-height: 100px;
  margin: 50px auto;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at right bottom, transparent 10px, #00BFFF 0) top right /50% 51px no-repeat,
  radial-gradient(circle at left bottom, transparent 10px, #00BFFF 0) top left / 50% 51px no-repeat,
  radial-gradient(circle at right top, transparent 10px, #00BFFF 0) bottom right / 50% 51px no-repeat,
  radial-gradient(circle at left top, transparent 10px, #00BFFF 0) bottom left / 50% 51px no-repeat;
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, .2));
}
.coupon span {
  display: inline-block;
  vertical-align: middle;
  margin-right: 10px;
  color: red;
  font-size: 50px;
  font-weight: 400;
}

 

10000SWT优惠券

标签:repeat,bottom,gradient,top,right,10px,卡券,制作,CSS
来源: https://www.cnblogs.com/swt-axios/p/14859326.html

专注分享技术,共同学习,共同进步。侵权联系[admin#icode9.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有