🌐
CodePen
codepen.io › gliesche › pen › ZQyPeV
Pure CSS checkmark
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
🌐
CodePen
codepen.io › michmy › pen › zNeXZR
CSS Checkmark
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
CodePen
codepen.io › iGadget › pen › mJaPMY
CSS Check Mark
<section> <div class="container"> <h5>CSS Check Mark √</h5> <ul class="box"> <li> <h6>check with JS <span>toggle a class</span></h6> <span class="icon fa fa-file"></span> </li> <li> <h6>check without JS <span>checkbox + label</span></h6> <input type="checkbox" id="checker" /> <label for="checker" class="lbl fa fa-file"></label> </li> </div> </section> !
🌐
CodePen
codepen.io › ukristen › pen › KpPNZV
CSS checkmarks
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
CodePen
codepen.io › haniotis › pen › KwvYLO
Checkmark (SVG + CSS)
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
CodePen
codepen.io › ronnidc › pen › mdBrreJ
Pure CSS checkmark - unordered list
Pure and simple CSS checkmark. It can be used as a class on a or as an @extend. It inherits the current text-color of the page. ...
🌐
CodePen
codepen.io › gregbarozzi › pen › gMLdwy
Unicode / CSS Checkmark and X
<h3>Unicode / CSS check-mark and X</h3> <p class=check>&#x2714;</p> <p class=ex>&#215;</p> <table style="border: 1px;"> <tr> <th colspan="2">one</th> <th>two</th> <th> three</th> </tr> <tbody> <tr> <td>1</td> <td>2</td> <td>3</td> <td>4</td> </tr> </tbody> </table> !
🌐
CodePen
codepen.io › tag › checkmark
Pens tagged 'checkmark' on CodePen
CodePen doesn't work very well without JavaScript · We're all for progressive enhancement, but CodePen is a bit unique in that it's all about writing and showing front end code, including JavaScript. It's required to use most of the features of CodePen · Need to know how to enable it?
🌐
CodePen
codepen.io › kolobo › pen › YQQwgR
Pure CSS animated check mark
<div id="animCheck"> <div class="precheck"></div> <div class="check"></div> </div> <!-- THIS IS THE END--> <!-- THIS IS THE END--> <!-- THIS IS THE END--> <!-- RERUN TOPBAR --> <div id="topbar"> <a id="btnRerun" href="#">RERUN</a> <div>leave me a visit at &#x1F435; <a href="https://www.kolobo.com">kolobo.com</a></div> </div> ... // @import "compass/css3"; $size: 200px; $mark-border-radius: $size/10; #animCheck { width: $size; height: $size; position: relative; margin: 0 auto; border: 1px solid #666; border-radius: 50%; .precheck{ &:before{ content: ''; position: absolute; top: 45%; left: 0; wi
Find elsewhere
🌐
CodePen
codepen.io › eadsimone › pen › XKbLjP
pure css checkmark icon
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
CodePen
codepen.io › andy-set-studio › pen › ExdZvar
Verified Check Mark
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS ...
🌐
CodePen
codepen.io › sitekickr › pen › bGapeg
Circled Check Mark List Item Bullet
A nifty way to provide a circled checkmark bullet for list items using only CSS. Will work on modern browsers and IE 8+....
🌐
CodePen
codepen.io › daniandl › pen › OgbXzK
CSS Checkmark Animation
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
🌐
CodePen
codepen.io › elevaunt › pen › VvKdVa
Animated Check Mark & Cross
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS ...
🌐
CodePen
codepen.io › urre › pen › kXewBE
Checkmark list styling
It's a common practice to apply CSS to a page that styles elements such that they are consistent across all browsers. We offer two of the most popular choices: normalize.css and a reset.
🌐
CodePen
codepen.io › avstorm › pen › vYYBxRM
HTML CSS JS
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
CodePen
codepen.io › led8 › pen › yLLddyb
Checkmark Animated
In CodePen, whatever you write in the HTML editor is what goes within the <body> tags in a basic HTML5 template. If you need things in the <head> of the document, put that code here. ... The resource you are linking to is using the 'http' protocol, which may not work when the browser is using https. ↑ Insert the most common viewport meta tag · CSS preprocessors help make authoring CSS easier.
🌐
GitHub
gist.github.com › simararora7 › 0c792427f15cb15711e88d585a57875a
Checkmark (SVG + CSS) · GitHub
checkmark-svg-css.markdown · A Pen by Alexander Haniotis on CodePen. License. Raw · index.html · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
🌐
GitHub
gist.github.com › amrtgaber › 43ba67b5344e6eca6014da57fab3e118
Animated CSS Checkbox (Checkmark in box) · GitHub
animated-css-checkbox-checkmark-in-box.markdown · A Pen by Amr Gaber on CodePen. License. Raw · index.html · This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Top answer
1 of 16
110

Here is another CSS solution. It takes fewer lines of code.

ul li:before {
  content: '\2713';
  display: inline-block;
  color: red;
  padding: 0 6px 0 0;
}

ul li {
  list-style-type: none;
  font-size: 1em;
}
<ul>
  <li>test1</li>
  <li>test</li>
</ul>

2 of 16
109

You can draw two rectangles and place them next to each other. And then rotate by 45 degrees. Modify the width/height/top/left parameters for any variation.

DEMO 1

.checkmark {
  display: inline-block;
  width: 22px;
  height: 22px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
}

.checkmark_stem {
  position: absolute;
  width: 3px;
  height: 9px;
  background-color: #ccc;
  left: 11px;
  top: 6px;
}

.checkmark_kick {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #ccc;
  left: 8px;
  top: 12px;
}
<span class="checkmark">
  <div class="checkmark_stem"></div>
  <div class="checkmark_kick"></div>
</span>

DEMO 2 (With circle)

.checkmark {
  display: inline-block;
  width: 22px;
  height: 22px;
  -ms-transform: rotate(45deg); /* IE 9 */
  -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
  transform: rotate(45deg);
}

.checkmark_circle {
  position: absolute;
  width: 22px;
  height: 22px;
  background-color: green;
  border-radius: 11px;
  left: 0;
  top: 0;
}

.checkmark_stem {
  position: absolute;
  width: 3px;
  height: 9px;
  background-color: #fff;
  left: 11px;
  top: 6px;
}

.checkmark_kick {
  position: absolute;
  width: 3px;
  height: 3px;
  background-color: #fff;
  left: 8px;
  top: 12px;
}
<span class="checkmark">
  <div class="checkmark_circle"></div>
  <div class="checkmark_stem"></div>
  <div class="checkmark_kick"></div>
</span>