0
Can I make a daisy flower using buttons only?
10 odpowiedzi
+ 2
You could use svg path tags to form all the flower parts, and use event listener to trigger button actions upon touching the petals.
Try to touch the patels of this daisy flower..
https://code.sololearn.com/WJ0EQ96Id9nK/?ref=app
+ 1
you use "position", then you can use "left", "right", "top" and "bottom" to move it around.
Look at it on the css leasson
0
I didnt really got what you meant, but if im right, you can use a button, and put the background of the button to a image of a daisy, or you could put a image of a daisy using <img> and use the "onclick" attribute to use it as a button.
I hope i got to help you
0
I wanted to draw the flower using buttons
0
oh ok, so, you can use alot of buttons, put a unique id in each one and use css to model it, but that will take a while
0
how the petals like long semi circles?
0
you can either make them squared or use the rounded border to make them rounded
0
not semi circles?
0
as i said, you can use the rounded edge to make it a semi-circle, but i dont think you can make a perfect semi-circle
0
how can I adjust the alignment?