Skip to content

Instantly share code, notes, and snippets.

@pubudu-ranasinghe
Created November 2, 2019 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pubudu-ranasinghe/c2c20334776650a57c737523d3077e75 to your computer and use it in GitHub Desktop.
Save pubudu-ranasinghe/c2c20334776650a57c737523d3077e75 to your computer and use it in GitHub Desktop.
react-context-example-02
.App {
text-align: center;
}
.App-logo {
height: 40vmin;
}
.App-header {
background-color: #282c34;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-size: calc(10px + 2vmin);
color: white;
}
.App-link {
color: #09d3ac;
}
.Item {
font-size: calc(10px + 2vmin);
display: flex;
flex-direction: row;
padding: 5px;
}
.Item input {
font-size: calc(10px + 2vmin);
padding-left: 5px;
border: none;
}
.Item button {
font-size: calc(10px + 2vmin);
background-color: #09d3ac;
padding: 5px 10px;
border: none;
}
.Item span {
color: #fc4040;
padding-left: 5px;
font-size: 15px;
cursor: pointer;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment