Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

html

css

input

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?

like image 879
omnix Avatar asked Aug 14 '10 14:08

omnix


People also ask

How do you give the border radius only at the bottom?

CSS Syntaxborder-bottom-left-radius: length|% [length|%]|initial|inherit; Note: If you set two values, the first one is for the bottom border, and the second one for the left border. If the second value is omitted, it is copied from the first. If either length is zero, the corner is square, not rounded.

What is Moz border radius in CSS?

The border-radius property is a shorthand property that can accept up to four values. The values represent (in order,) the top-left , top-right , bottom-right , and bottom-left corners. As is the case with any shorthand properties that use unit values, any omitted values are inherited from existing ones.

How do I set border radius in WordPress?

To add border radius on image and content box you need to add a code snippet. Go to WordPress Dashboard >> Divi >> Theme Options >> Custom CSS >> add below CSS code. Here you can change the 5px size according to your need.


1 Answers

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;
  }
like image 169
darma Avatar answered Nov 15 '22 23:11

darma