图片四个角怎么能做成圆弧角css并且在图片上加文字
xuexi 2024-06-13 14:23:45 发表在:PHP 查看数:971
border-radius:25px;
在图片上加文字
 .ImageNew{
   position: relative;/相对定位/
    width: 100%; /* 色块的宽度 */
    height: 200px; /* 色块的高度 */
    background-color: #f8fbe8; /* 色块的背景颜色 */
    margin-top: 1px;
    margin-bottom: 20px;
  }
  .ImageNew{
   border-radius:25px;
   }
   .texta {
         position: absolute;
         top: 60px;
         margin-bottom: 20px;
        left: 140px;
        font-size: 50px;
        font-weight: 700;
        color: #79b552;

  }
  .textb{
         position: absolute;
         top: 130px;
         left: 110px;
        font-size: 20px;
        font-weight: 100;
        color: #666666;
  }
   .textc {
         position: absolute;
         top: 60px;
         margin-bottom: 20px;
        left: 840px;
        font-size: 50px;
        font-weight: 700;
        color: #79b552;

  }
    .textd{
         position: absolute;
         top: 130px;
         left: 810px;
        font-size: 20px;
        font-weight: 100;
        color: #666666;
  }
最近访问时间:2025-04-30 06:26:41
知识库:340条鸣谢:TAY  备案号:蜀ICP备2024090044号