Could you please help me add a red cross (font awesome icon) to the button?
I attempted to implement the code on JSFiddle.
However, I still need:
UPDATE
Initially, I found Kiranvj's answer suitable for its simplicity and applicability to all relevant codes.
Upon integrating the changes from Kiranvj's answer into the main code, I did not achieve the desired outcome.
Complete Code:
[CSS code here] ....
[HTML code here]
I want the red cross icon on all blue buttons. (It may vary, so each button should have a separate
div
ori
)
Note: The button placements are not fixed, and try to avoid positioning from the sides.
JSFiddle links with alternative solutions:
- Kiranvj's answer (Recommended)
- Anmol Sandal's answer (Option 2)
- SWC's answer
- Aryan Twanju's answer
A.Sakkeer's answer