0

Hi everyone can anyone help me how to make my selectbox just like in the picture using css.

im new in web developing can anyone help me how to make this kind of design?

htm code:

<select class="black" > <option>Here is the first option</opstion> <option>red</opstion> <option>white</opstion> </select> 

enter image description here

1
  • Your HTML has typos: </opstion> should be </option>. Commented Feb 26, 2014 at 10:32

1 Answer 1

3
.black { background: #444444; border: 1px solid #26487f; border-radius: 1px; color: #fff; outline: 1px solid #a5c7fe; padding: 6px 10px; } 

JSFiddle demo.

You also need to fix the mistakes in your HTML: </opstion> should be </option>.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.