We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hi i was wondering if we can get a checked mark on the selected swatch from the preset swatches
The text was updated successfully, but these errors were encountered:
You can do this in your stylesheet using the following selector:
.minicolors-swatch.selected { /* your checkmark styles here */ }
You may want to take advantage of the ::before or ::after pseudo selector to achieve this.
Sorry, something went wrong.
hey i know its too much to ask but can you please write it for me please. i tried but i failed i want to add a check mark to the selected swatch
Try this:
.minicolors-swatch.selected:after { content: ''; display: block; width: 5px; height: 9px; border: solid #000; border-width: 0 2px 2px 0; transform: rotate(45deg); margin-left: 40%; margin-top: 20%; }
Or better using the html code instead of painting with css (solution from above). https://www.toptal.com/designers/htmlarrows/symbols/check-mark/
.minicolors-swatch.selected:after { content: "\2713"; color:black; position: relative; margin: auto 20%; }
No branches or pull requests
hi i was wondering if we can get a checked mark on the selected swatch from the preset swatches
The text was updated successfully, but these errors were encountered: