Combo box for choosing the font size for the text?

Hello, I have a text input field and I need a combo box for choosing the font size for the text by px maybe. Does anyone can help with the coding or any suggestion how to make it. Thanks very much in advance!!