Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save SanthoshVijayabaskar/f807b145be81d3c131160c9d62f3f003 to your computer and use it in GitHub Desktop.

Select an option

Save SanthoshVijayabaskar/f807b145be81d3c131160c9d62f3f003 to your computer and use it in GitHub Desktop.
This is a sample CSS for my ReactJS Training Program - Hello World
html {
height: 100%;
}
body {
background: #f2f2f2;
font-family: Roboto;
display: flex;
justify-content: center;
align-items: center;
}
h2 {
font-weight: 500;
margin: 0px;
}
h4 {
font-weight: 400;
font-size: 18px;
margin: 0px;
margin-bottom: 8px;
}
.text-center {
text-align: center;
}
form {
width: 100%;
}
.search-box {
margin: 16px;
margin-bottom: 2px;
}
.movie-box {
display: inline-block;
margin: 24px;
margin-top: 2px;
border: 1px solid #ddd;
padding: 6px;
text-align: center;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
}
button {
background-color: #f44336;
color: white;
border: none;
border-radius: 10em;
margin: 6px;
transition: box-shadow 0.2s ease;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
&:hover {
box-shadow: 0 0 8px rgba(0, 0, 0, 0.18), 0 8px 16px rgba(0, 0, 0, 0.36);
}
&:last-child {
background-color: #4caf50;
}
}
img {
box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
margin-right: 12px;
margin-left: 12px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment