Thursday, 3 December 2015

What would be the best way to create this button?

I need to create a button with a slanted edge on one part of the button as you can see in the picture.

http://ift.tt/1XBc5vM

What I have done is created the slanted dark green box with the arrow as a graphic and put it inside of the button div, sorting out css to position it on top of the left side of the button.

However this method makes it very awkward in different browsers, mostly the size of the image is different in FF and IE than Chrome.

Would a pure CSS approach be more practical? Should the entire button be an image?

cheers.



Epic visual tool

Epson 5030UB 2D/3D 1080p 3LCD Projector Submitted December 03, 2015 at 09:22AM by 3pacpirate http://ift.tt/1Ozm1jM

No comments:

Post a Comment