Skip to content

Instantly share code, notes, and snippets.

@s-hiroshi
Created June 30, 2012 05:04
Show Gist options
  • Save s-hiroshi/3022381 to your computer and use it in GitHub Desktop.
Save s-hiroshi/3022381 to your computer and use it in GitHub Desktop.
CSS > general class
/* -------------------------------------------------------------------
general class
------------------------------------------------------------------- */
.text-red {
color: #b74040;
}
.text-center {
text-align: center;
}
.text-right {
text-align: right;
}
.image-left {
float: left;
margin-right: 25px;
}
.text-bold {
font-weight: bold;
}
.text-large {
font-weight: 167%;
}
.image-left div {
margin-bottom: 10px;
}
.image-right {
float: right;
margin-left: 25px;
}
.image-middle {
width: 250px;
}
.layout-left {
float: left;
}
.layout-right {
float: right;
}
.layout-clear {
clear: both;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment