Altjen B. Altjen B. - 10 months ago 39
CSS Question

How to add a different color next to textbox in

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


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 Source

Something simple like this would do?

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