INGREDIENTS
1 box
promoted-check label:active::after {
1 serving
background-color: #e6e6e6
4 cs
color: #4b
4 cs
border: 2px solid #4b
1 serving
top: 0px
1 serving
before
1 serving
after {
1 serving
box-sizing: border-box
1 serving
}
5
html boilerplate accessible hidden styles
1 box
promoted-input-check {
? border: 0; border: 0; border 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
clip: rect
1 serving
height: 1px
1 serving
margin: -1px
1 serving
overflow: hidden
? padding: 0; padding: 0; padding 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
position: absolute
1 serving
width: 1px
1 serving
}
1 box
promoted-check input:checked
1 serving
height: 24px
1 box
animation: draw-check ease-in-out 0.2s forwards
1 serving
}
1 serving
}
1 box
promoted-check label {
1 serving
line-height: 24px
1 serving
cursor: pointer
1 serving
position: relative
1 serving
}
1 box
promoted-check label:after {
1 serving
content
1 serving
height: 24px
1 serving
width: 24px
1 serving
margin-right: 1rem
1 serving
float: left
1 serving
border-radius: 3px
transition: 15s all ease-out
1 serving
}
1 box
promoted-check svg {
4 cs
stroke: #4b
1 serving
stroke-width: 2px
? height: 0; height: 0; height 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
width: 16px
1 serving
position: absolute
1 serving
left: 5px
33
1 serving
}
1 box
keyframes draw-check {
1 serving
{
33
1 serving
}
1 serving
{
? stroke-dashoffset: 0; stroke-dashoffset: 0; stroke-dashoffset 0.0 {"us"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}, "metric"=>{"amount"=>0.0, "unitShort"=>"", "unitLong"=>""}}
1 serving
}
1 serving
}