Skip to content

Instantly share code, notes, and snippets.

@SajjadArifGul
Created February 27, 2016 07:59
Show Gist options
  • Save SajjadArifGul/27c24a0fac3e9c956fa4 to your computer and use it in GitHub Desktop.
Save SajjadArifGul/27c24a0fac3e9c956fa4 to your computer and use it in GitHub Desktop.
.calculator-holder {
position: relative;
top: 50%;
transform: translateY(+50%);
}
.calculator
{
width:300px;
height:300px;
background-color:#eeeeee;
border:2px solid #CCCCCC;
margin:0 auto 0 auto;
padding-left:5px;
padding-bottom:5px;
}
.calculator td
{
height:16.66%;
}
.calc_td_result
{
text-align:center;
}
.calc_result
{
width:90%;
text-align:right;
}
.calc_td_calculs
{
text-align:center;
}
.calc_calculs
{
width:90%;
text-align:left;
}
.calc_td_btn
{
width:25%;
height:100%;
}
.calc_btn
{
width:90%;
height:90%;
font-size:20px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment