behnam
behnam

Reputation: 179

HTML Button, 2 Border Colors

This is the html code I have for a button:

<input style="border-width: 624px; border-color: rgb(252, 255, 158);">

This is how it looks:

enter image description here

The top left color is the correct color. The bottom right color I have no idea where it is coming from. Any ideas how i could change it?

Upvotes: 0

Views: 99

Answers (1)

Aaron
Aaron

Reputation: 228

Add this style to your button:

border-style: solid;

Or you could combine all of your border styles together like this:

border: 624px solid rgb(252, 255, 158);

So, the resulting button would look like this:

<input style="border: 624px solid rgb(252, 255, 158)" />

Upvotes: 1

Related Questions