Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
border color of input text
I changed color of input["text'] by changing its border-color property. https://i.gyazo.com/7c506a92015886b999c5f13d89c1b20c.png But as you can see on this picture the top border's color differs from the bottom border's.
Any ideas on why this may occur? Thanx in advance!
Adam Hill7,491 Points
If you're not using any kind of 'normalise' css to reset all of your browser default styles then Jennifer is correct, input's by default can have border, shadow and outline styles applied to them by the browser. You'll need ot override the default "border-style:inset;" by either stating "border-style:solid" or uasinf the shorthand "border:1px solid blue;"
It was inset border! Thank you, guys!