I need to make this kind of effect with css what do you have?
Itwouldnotmattertousecss3
oranytechnology,thistypeofcss
willbeusedinanapplicationmadeinionic
,Idonotknowifthiswouldmatter.
Ineedtheidenticalreproduction,containinganiconandatextinside.
Itriedtouseborder-radius
androtate
butitranallcontentsofdiv
.
.triangle{height:50px;width:50px;background-color:red;border-radius:5px;transform:rotate(50deg);}<ion-row><ion-colcol-4><divclass="triangle">
<ion-icon name="md-book" class=""></ion-icon>
<span>Algum texto</span>
</div>
</ion-col>
</ion-row>