Skip to content

Instantly share code, notes, and snippets.

@5knnbdwm
Created October 29, 2018 09:10
Show Gist options
  • Save 5knnbdwm/6f97f923ae4bf040f475065bd6def0b1 to your computer and use it in GitHub Desktop.
Save 5knnbdwm/6f97f923ae4bf040f475065bd6def0b1 to your computer and use it in GitHub Desktop.
Appendix - CSS
.box-1 {
height: 100px;
width: 150px;
}
.box-10 {
color: blue;
}
.box-11-1 {
background: blue;
}
.box-11-2 {
background-image: url(http://icons.iconarchive.com/icons/paomedia/small-n-flat/72/flower-icon.png),
url(http://icons.iconarchive.com/icons/custom-icon-design/weather/256/Sunny-icon.png);
background-position: left top, right top;
background-repeat: repeat, no-repeat;
/* repeat/no-repeat/repeat-x/repeat-y */
}
.box-12 {
margin: 0 auto;
padding: 20px;
background-image: url(https://www.freeapplewallpapers.com/wp-content/uploads/2013/10/Blue-Gradient-150x150.png);
background-repeat: repeat-x;
}
.box-13-1 {
text-align: center;
}
.box-13-2 {
margin: 0 auto;
}
.box-14-1 {
color: green;
text-decoration: none;
}
.box-14-2:hover {
color: red;
}
.box-14-3:active {
color: yellow;
text-decoration: underline;
}
.box-14-4:visited {
color: violet;
text-decoration: underline;
}
.box-2 {
float: left;
/* left/right/none/inherit */
}
.box-3-1 {
height: 100px;
width: 100px;
float: left;
}
.box-3-2 {
height: 50px;
width: 50px;
float: right;
}
.box-4 {
display: inline;
/* inline/block/inline-block/none */
}
.box-5-1 {
margin-top: 10px;
margin-right: 20px;
margin-bottom: 10px;
margin-left: 20px;
}
.box-5-2 {
margin: 10px 20px 10px 20px;
}
.box-5-3 {
margin: 10px 20px;
}
.box-6-1 {
border-style: solid;
/* dotted/dashed/solid/double/groove/ridge/inset/outset/none/hidden */
border-width: 2px;
border-color: blueviolet;
border-radius: 5px;
}
.box-6-2 {
border-top-style: dotted;
border-right-style: solid;
border-bottom-style: dotted;
border-left-style: solid;
}
.box-6-3 {
border: 1px solid black;
/* border-top/border-right/border-bottom/border-left */
}
.box-7-1 {
padding-top: 10px;
padding-right: 20px;
padding-bottom: 10px;
padding-left: 20px;
}
.box-7-2 {
padding: 10px 20px 10px 20px;
}
.box-7-3 {
padding: 10px 20px;
}
.box-8 {
height: 100px;
width: 300px;
margin: 10px auto;
border-right: 5px solid rgb(128, 128, 128);
padding: 5px 10px;
}
.box-9 {
overflow: auto;
/* visible/hidden/scrool/auto */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment