Ask coding questions

← Back to all posts
CSS Buttons (for MFD)
Vandesm14 (2010)

So I was trying to make a css button based on the buttons of mfd.jpg in my repl. But the problem is, I can't seem to get it right. I need the css button (class is .mfd-btn) to look almost exact to the one on the MFD (mfd.jpg).

Also: It would also be helpful if a simple animation for pushing the button, which I also failed at, could be made. Sadly, I don't have an image for the active button, so the animation has to be made from scratch.

malvoliothegood (430)

You could use pictures of the original buttons, create an active version of each, then use the images as backgrounds for buttons. Have a look at this repl: