.ec-btn { width:100px; height:50px; border-radius:10px; border:1px solid #F6F6F6; position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); -moz-transform:translate(-50%,-50%); -webkit-transform:translate(-50%,-50%); -ms-transform:translate(-50%,-50%); }