3

Just wondering how you would go about creating the effect as seen in the following image:

Image

The part i'd like to attempt to recreate is the gradient within the text field itself along with the line border surrounding the text box.

Thanks.

2 Answers 2

3

This can also be done using CSS3, reducing the need to load images. The problem, of course, is that it can become a little tricky cross-browser.

Heres a demo: Demo

Heres a tutorial on reproducing the demo: Tutorial

Sign up to request clarification or add additional context in comments.

1 Comment

nice reply, just what was needed
3

You can just set the CSS attributes on the input element in question. background-image for the gradient and border for the border.

Comments

Your Answer

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.