-1

I have an AngularJS 1.x app that I need to add a styled drop down as see in the image below. Some items need to have a red or green left border. How can I achieve this?

Drop down

CaptainMorgan
  • 1,193
  • 2
  • 25
  • 55
  • What code have you tried? It is hard to help answer a question like this without more information. Please add in the code you are using and what specifically about it does not work. – mdewitt Feb 20 '18 at 05:20
  • A similar question has been answered [here](https://stackoverflow.com/questions/8430279/how-to-style-the-option-with-only-css). – Kusuma Feb 20 '18 at 09:35

1 Answers1

0

Some more code would help.. but something like this

.element.red {
    border-left: 5px solid red;
}
.element.green {
    border-left: 5px solid green
}
Smokey Dawson
  • 8,827
  • 19
  • 77
  • 152