<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0.5em;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 15px;
}
ul.cp_list li:before {
position:absolute;
top: 8px;
left: 0;
content:'';
width: 8px;
height: 10px;
background: #3F51B5;
clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 25px;
}
ul.cp_list li:before {
position:absolute;
top: 0;
left: 0;
content:'';
display:block;
height: 15px;
width: 15px;
background: #FFC107;
border-radius: 2px;
clip-path: polygon(80% 0, 100% 0, 100% 100%, 50% 100%, 50% 80%, 80% 80%);
transform: rotate(45deg);
}
<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 20px;
}
ul.cp_list li::before {
position: absolute;
top: 0.5em;
left: 0;
content: '';
display: block;
width: 10px;
height: 10px;
background: #00BCD4;
border-radius: 2px;
clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 70% 70%, 70% 0);
transform: rotate(-45deg);
}
<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 25px;
}
ul.cp_list li::before {
position: absolute;
top: 0;
left: 0;
content: '';
display: block;
width: 20px;
height: 20px;
background: #BA68C8;
border-radius: 2px;
clip-path: polygon(50% 40%, 40% 48%, 75% 85%, 40% 85%, 40% 100%, 100% 100%, 100% 40%, 85% 40%, 85% 75%);
transform: rotate(-45deg);
transform-origin: bottom center;
}
<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 20px;
}
ul.cp_list li::before,
ul.cp_list li::after {
position: absolute;
top: 5px;
left: 0;
content: '';
width: 14px;
height: 14px;
}
ul.cp_list li::before {
background: #EC407A;
clip-path: circle(50% at 50% 50%);
}
ul.cp_list li::after {
left: -1px;
background: #ffffff;
clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 70%, 70% 70%, 70% 0);
transform: rotate(-45deg) scale(0.5);
}
<ul class="cp_list">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ul>
ul.cp_list {
padding:0;
list-style-type:none;
}
ul.cp_list li {
position:relative;
padding: 0 0 0 20px;
}
ul.cp_list li::before,
ul.cp_list li::after {
position: absolute;
top: 0.3em;
content: '';
display: flex;
justify-content: center;
align-items: center;
width: 13px;
height: 15px;
background: #4DD0E1;
}
ul.cp_list li::before {
left: 0;
border-radius: 3px;
}
ul.cp_list li::after {
left: 8px;
clip-path: polygon(0 0, 0% 100%, 100% 50%);
transform: scale(0.5);
}
<ol class="cp_clist">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ol>
ol.cp_clist {
padding: 0;
counter-reset:cp_clist; /*数字をリセット*/
list-style-type: none;
}
ol.cp_clist li {
position: relative;
margin: 0 0 0 30px;
}
ol.cp_clist li::before {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
/* カウントさせる */
counter-increment: cp_clist;
content: counter(cp_clist);
/*装飾*/
background: #03A9F4;
color: #fff;
border-radius: 50%;
width: 20px;
height: 20px;
/*位置の調整*/
padding: 0;
margin: 2px 0 0 -30px;
}
ol.cp_clist li::after {
position: absolute;
top: 7px;
left: -15px;
content: '';
width: 12px;
height: 10px;
background: #03A9F4;
clip-path: polygon(0 0, 0% 100%, 80% 50%);
}
<ol class="cp_clist">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ol>
ol.cp_clist {
padding: 0;
counter-reset:cp_clist; /*数字をリセット*/
list-style-type: none;
}
ol.cp_clist li {
position:relative;
background: #F8BBD0;
padding: 0 5px;
margin: 0 0 10px 30px;
}
ol.cp_clist li:before {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
/* カウントさせる */
counter-increment: cp_clist;
content: counter(cp_clist);
/*装飾*/
font-weight: bold;
color: #fff;
background: #F06292;
width: 20px;
height: 20px;
clip-path: polygon(0% 0%, 85% 0, 85% 40%, 100% 50%, 85% 60%, 85% 100%, 0 100%);
/*位置の調整*/
padding: 0 5px 0 0;
margin: 2px 0 0 -30px;
}
<ol class="cp_clist">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ol>
ol.cp_clist {
padding: 0;
counter-reset:cp_clist; /*数字をリセット*/
list-style-type: none;
}
ol.cp_clist li {
position: relative;
padding: 0 5px;
margin: 0 0 5px 40px;
min-height: 28px;
background: #FFAB91;
color: #333;
transition: all .3s ease-out;
}
ol.cp_clist li::before {
position: absolute;
top: 0;
left: -10px;
display: flex;
justify-content: center;
align-items: center;
/* カウントさせる */
counter-increment: cp_clist;
content: counter(cp_clist);
/*装飾*/
color: #fff;
background: #FF5722;
height: 28px;
width: 28px;
/*位置の調整*/
padding: 0;
margin: 0px 0 0 -30px;
}
ol.cp_clist li::after {
content: '';
position: absolute;
top: 10px;
left: -17px;
background: #FF5722;
width: 10px;
height: 10px;
clip-path: polygon(0 0, 0% 100%, 50% 50%);
transition: all .3s ease-out;
}
/*hover時の設定*/
ol.cp_clist li:hover {
background: #FFCCBC;
}
ol.cp_clist li:hover::after {
left: -6px;
}
<ol class="cp_clist">
<li>css</li>
<li>html</li>
<li>copy</li>
<li>easy</li>
</ol>
ol.cp_clist {
padding: 0;
counter-reset:cp_clist; /*数字をリセット*/
list-style-type: none;
}
ol.cp_clist li{
position:relative;
margin: 0 0 0 25px;
}
ol.cp_clist li::before {
position: absolute;
display: flex;
justify-content: center;
align-items: center;
/* カウントさせる */
counter-increment: cp_clist;
content: counter(cp_clist);
/*装飾*/
background: #4CAF50;
color:#fff;
height: 20px;
width: 20px;
clip-path: inset(0px round 10px 1px);
/*位置の調整*/
padding: 0;
margin: 2px 0 0 -25px;
}