Border is visble in Chrome and Firefox but not visible in IE 11

I googled it and previously my code was border:2px solid black ; I changed it to border-style and added all the specifics in multiple lines. That did not help. 

```
.container{
    margin:10px;
    padding:5px;
    border:2px;
    border-style:solid;
    border-color:black;
    border-radius:3px;
    text-align:center;
}

```

[This is how it looks in Firefox](https://i.stack.imgur.com/BnzxF.png)

[This is how it looks in IE 11](https://i.stack.imgur.com/IuDP6.png)