Rounded corners for <input type='text' /> using border-radius.htc for IE

前端 未结 6 1518
遇见更好的自我
遇见更好的自我 2020-12-29 03:28

I want to create an input fields with rounded corners.

HTML:

6条回答
  •  渐次进展
    2020-12-29 04:26

    Oh lord, don't do it this way. HTC files are never a good idea for performance and clarity reasons, and you're using too many vendor-specific parameters for something that can easily be done cross-browser all the way back to IE6.

    Apply a background image to your input field with the rounded corners and make the field's background colour transparent with border:none applied instead.

提交回复
热议问题