Altjen B. Altjen B. - 25 days ago 7
CSS Question

How to add a different color next to textbox in asp.net

Probably by the title is kinda hard to understand what I meant by that, but I am trying to archive something like this.

img1

I am trying to add in a textbox that little orange part next to the button.
I tried to create an other div which will be visible when you select the textbox. but didnt work.

any suggestion?

Answer

Something simple like this would do?

button {
  border-left: 2px solid red;
}
<button>Browse games</button>