working with Laravel and I have display some div box background color according to adtype values of the table. currently using following background colors according to adtype values,
<div style="border-style: solid; background-color: ">
but now I need paste different color to border like if adtype===1 red and adtype===0 green. I have only 2 adtype values like 1 and 0. how can I do this?
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire