开发者

border-radius is not working in Firefox for me on input types

Everything works fine in webkit browsers. But when i'm trying to use border-radius with input[type="url"] it doesn't work. Not even just using input. Nothing still works.

Css

 section.crypter input {
  border-radius: 15px;
  -moz-border-radius: 15px;
  -webkit-border-radius: 15px;
  padding: 5px;
  }

HTML

<form>
    <input type="url" placeholder="Insert URL" />
    <input 开发者_开发问答type="button" value="Crypt" />
  </form>

Why isn't Firefox letting me style the input?


Looks like you need to style the border first :

input {
border:1px solid #666666;
  border-radius: 15px;
-moz-border-radius :15px;
  -webkit-border-radius: 15px;
  padding: 5px;
  }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜