Skip to content

Instantly share code, notes, and snippets.

@kjosavik
Created April 3, 2019 11:45
Show Gist options
  • Save kjosavik/f020c42d9590459f49b10daeb872d05b to your computer and use it in GitHub Desktop.
Save kjosavik/f020c42d9590459f49b10daeb872d05b to your computer and use it in GitHub Desktop.
CSS file for WithoutStyledComponents.jsx
#main {
padding: 32px;
border: outset rgba(247, 159, 121, 1) 1px;
border-radius: 4px;
}
#output-area{
min-height: 128px;
margin: 16px;
cursor: default;
}
#output{
font-size: 64px;
color: rgba(247, 159, 121, 1);
}
#input-area{
display: flex;
}
#input-area > * {
margin: 16px;
}
#input{
font-size: 32px;
border: inset rgba(247, 159, 121, 1) 1px;
border-radius: 4px;
padding: 2px;
}
#button{
background-color: rgba(247, 208, 138, 1);
border: outset rgba(247, 159, 121, 1) 1px;
border-radius: 4px;
cursor: pointer;
transition: all 0.4s;
}
#button:hover{
background-color: rgba(247, 159, 121, 1);
border-color: rgba(247, 208, 138, 1);
border-style: inset;
}
#button:active {
background-color: rgba(98, 191, 237, 1);
border: inset rgba(184, 216, 216, 1) 1px;
transition: none;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment