Is it possible to do with CSS the icon of the image below?
Ifyes,howcanIdoit?
Itriedtodothis,butIcannotcreatethethirdpage,Icanonlydotwo:
.pages:before{
content: "";
width:25px;
height:20px;
background-color:#FF0004; /*vermelho*/
position:absolute;
z-index:3;
top:0;
left:0;
}
.pages{
width:25px;
height:20px;
background-color:#F8FF00;
z-index:2;
position:absolute;
top:4px;
left:4px;
}
.pages:after{
content: "";
width:25px;
height:20px;
background-color:#2200FF; /*azul*/
z-index:1;
position:absolute;
top:8px;
left:8px;
}
<span class="pages"></span>