+ 3

How would I let a love icon sit on each button of a calculator?

I want to create a calculator where every number on the calculator is placed on top of a love icon, And this calculator's mathematical results will show a love 'shape on display, All in all, I am talking about a love style calculator.

11th Oct 2020, 4:11 AM
Md Shohel Rana
Md Shohel Rana - avatar
6 Respostas
+ 3
Here you go I have the code for you Md Shohel Rana I have used css background property to do that. https://code.sololearn.com/WZg4tyUAA5Qq/?ref=app
12th Oct 2020, 12:46 AM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 5
Are you making this calculator for your love interest? Personally I would find it too distracting if my calculator was full of hearts.
12th Oct 2020, 1:30 PM
Sonic
Sonic - avatar
+ 2
Just had a thought ... it's kinda hard to arrange the many calculator buttons on a heart-shaped container.
11th Oct 2020, 4:13 AM
Ipang
+ 2
You can use span and wrap every letter with span and give it class love and then make only one heart shape in css and use everywhere you need Just simple as that
11th Oct 2020, 11:40 AM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar
+ 2
Do you want to do that? Then please do it . Arnav kumar
11th Oct 2020, 5:31 PM
Md Shohel Rana
Md Shohel Rana - avatar
+ 2
Md Shohel Rana or if you don't want it like this you can search on google for any heart shaped font you could probably find one there !
12th Oct 2020, 12:48 AM
Arnav Kumar [Less/Not Active]
Arnav Kumar [Less/Not Active] - avatar