Commit 4301e124 authored by Koushik Paul's avatar Koushik Paul
Browse files

Upload New File

parent 0f6fb3f7
.calculator {
border-radius: 10px;
box-shadow: 0px 3px 6px 0px rgba(0, 0, 0, 0.15), 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
margin-inline-start: auto;
margin-inline-end: auto;
margin-block-start: 2em;
max-inline-size: 22rem;
overflow: hidden;
}
.calculator__output {
background: hsl(202, 11%, 29%);
color: hsl(255, 100%, 100%);
font-size: 2rem;
padding-block-start: 0.5rem;
padding-block-end: 0.5rem;
padding-inline-end: 0.75rem;
text-align: end;
}
.calculator__keys {
display: grid;
grid-template-columns: repeat(4, 1fr);
grid-gap: 1px;
background: hsl(207, 19%, 61%);
}
.calculator__key {
background: hsl(210, 25%, 95%);
border: none;
padding-block-start: 1rem;
padding-block-end: 1rem;
padding-inline-end: 1.25rem;
padding-inline-start: 1.25rem;
font-size: 1.5rem;
}
.calculator__key:active,
.calculator__key:focus {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.3) inset;
outline: none;
}
.calculator__key--operator {
background: hsl(208, 25%, 86%);
}
.calculator__key--operator:active {
background: hsl(208, 24%, 80%);
}
.calculator__key--enter {
grid-column: 4 / 5;
grid-row: 2 / span 4;
background: hsl(357, 100%, 72%);
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment