5

enter image description here

I want the inset effect for the above button. The 'text' cancel appears to be type pressed. I have tried a lot of examples available online but they don't have white background examples.

Help me to gain this effect.

Thanks in advance!!

asked May 3, 2012 at 10:44

1 Answer 1

20

With the text-shadow property, you should be able to get the subtle effect that you're after:

text-shadow: 0 -1px 0 #888;

See a very basic example on jsfiddle.

answered May 3, 2012 at 11:55
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.