Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jackocnr committed Sep 7, 2014
1 parent 3d8a1bf commit a024f64
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,12 @@ Depending on your project setup, you may need to override the path to flags.png
.intl-tel-input .flag {background-image: url("path/to/flags.png");}
```

**Full width input**
If you want your input to be full-width, you need to set the container to be the same i.e.
```css
.intl-tel-input {width: 100%;}
```

**Input margin**
For the sake of alignment, the default CSS forces the input's vertical margin to `0px`. If you want vertical margin, you should add it to the container (with class `intl-tel-input`).

Expand Down

0 comments on commit a024f64

Please sign in to comment.