body { background:#ffffff; font-size:14px; } .ly-check { position:relative; top:1px; margin:0 20px 0 0; cursor:pointer; border:none; } .ly-check:before { -webkit-transition:all 0.3s ease-in-out; -moz-transition:all 0.3s ease-in-out; transition:all 0.3s ease-in-out; content:""; position:absolute; left:0; top:1px; z-index:1; width:14px; border-radius:2px; height:14px; border:1px solid #ccc; } .ly-check:after { content:""; position:absolute; top:1px; left:0; width:14px; height:14px; background:#fff; border-radius:2px; cursor:pointer; border:1px solid #1fa8f6; } .ly-check.ly-cation:before { -webkit-transform:rotate(-45deg); -moz-transform:rotate(-45deg); -ms-transform:rotate(-45deg); -o-transform:rotate(-45deg); transform:rotate(-45deg); height:7px; width:14px; top:2px; left:1px; border-radius:0px; border-color:#1fa8f6; border-top-style:none; border-right-style:none; border-width:2px; } .ly-content { padding:30px; box-sizing:border-box; } .ly-content p { line-height:40px; text-align:left; } .ly-content span { padding-left:20px; }
单条信息全部勾选,全选自动勾选;全选勾选,单条信息全部勾选,取消某条单选,全选自动取消全选;