
#212121
Use with your AI agent
Copy the prompt and paste it into your coding agent.
HTML
<div class="customCheckBoxHolder"> <input class="customCheckBoxInput" id="cCB1" type="checkbox"> <label class="customCheckBoxWrapper" for="cCB1"> <div class="customCheckBox"> <div class="inner">Option</div> </div> </label> <input class="customCheckBoxInput" id="cCB2" type="checkbox"> <label class="customCheckBoxWrapper" for="cCB2"> <div class="customCheckBox">
CSS
.customCheckBoxHolder { margin: 5px; display: flex; } .customCheckBox { width: fit-content; position: relative; overflow: hidden; cursor: pointer; user-select: none; padding: 2px 8px;
MIT License