Add strikethrough to checked checkbox

后端 未结 6 1036
时光说笑
时光说笑 2021-02-13 23:57

I am trying to add strikethrough when i select a checkbox in my form (Bootstrap v3). I coded this bootply:

6条回答
  •  囚心锁ツ
    2021-02-14 00:28

    .strikethrough:checked + .strikeThis {
      text-decoration: line-through
    }
    
    

提交回复
热议问题