How to style the Paper Input to a normal input box?

25 views
Skip to first unread message

mel...@betterhalf.life

unread,
Nov 21, 2016, 7:49:24 AM11/21/16
to Polymer
Can anyone please help me to style the default <paper-input> element to a normal input box? The default polymer <paper-input> element is having an underline. I want to style it to a normal text box  (input box). I will be thankful if you are showing with a small example too.
Thanks in advance..

Daniel Llewellyn

unread,
Nov 27, 2016, 2:46:34 PM11/27/16
to mel...@betterhalf.life, Polymer
On Mon, 21 Nov 2016 at 12:49 <mel...@betterhalf.life> wrote:
Can anyone please help me to style the default <paper-input> element to a normal input box? The default polymer <paper-input> element is having an underline. I want to style it to a normal text box  (input box). I will be thankful if you are showing with a small example too.
Thanks in advance..

Hi,

The `paper-*` elements are purposefully opinionated about appearance. They follow the guidelines in the "Material Design" specification that Google publish. For a regular input box you might have better luck using the `iron-input` element in-place of paper-input.

Dan.
Reply all
Reply to author
Forward
0 new messages