Setting size for icon in CSS

前端 未结 6 1140
再見小時候
再見小時候 2021-01-31 15:54

I\'m working on JSF, and I\'m using this code to display an error box.

6条回答
  •  一个人的身影
    2021-01-31 16:33

    Funnily enough, adjusting the padding seems to do it.

    .arrow {
      border: solid rgb(2, 0, 0);
      border-width: 0 3px 3px 0;
      display: inline-block;
    }
    
    .first{
      padding: 2vh;
    }
    
    .second{
      padding: 4vh;
    }
    
    .left {
        transform: rotate(135deg);
        -webkit-transform: rotate(135deg);
     }
    
    

提交回复
热议问题