Skip to content

Instantly share code, notes, and snippets.

@mxdi9i7
Created December 7, 2017 19:35
Show Gist options
  • Save mxdi9i7/31e2b836ca31a534386097c836c3d818 to your computer and use it in GitHub Desktop.
Save mxdi9i7/31e2b836ca31a534386097c836c3d818 to your computer and use it in GitHub Desktop.
Intro to CSS
label {
background-color: yellow;
}
body {
background-image: url(https://goo.gl/4yCwzn);
background-size: cover;
}
.title {
display: block;
font-size: 72px;
text-align: center;
border: 5px solid #000;
padding: 50px 10%;
margin: 50px 0;
transition: 0.1s;
}
.topTitle1 {
color: #dd23f1;
background-color: gold;
}
.topTitle2 {
color: green;
background-color: red;
}
.topTitle3 {
color: black;
background-color: transparent;
}
.title:hover {
background-color: transparent;
color: blue;
box-shadow: 5px 5px 50px green;
font-size: 12px;
margin-top: 100px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment