Change button:active in css

后端 未结 4 2054
面向向阳花
面向向阳花 2021-01-28 07:40

how i can change button to have border-radius: 6px; and to by active marked when i will select it. Here is my HTML code and i also have CSS. When i make

4条回答
  •  终归单人心
    2021-01-28 08:14

    change

    class="button:active" 
    

    to

    class="button"
    

    and add to your css

    button:active {
    // your button:active styling
    }
    

提交回复
热议问题