Skip to content

Instantly share code, notes, and snippets.

@tedw
Created November 13, 2012 21:55
Show Gist options
  • Save tedw/4068668 to your computer and use it in GitHub Desktop.
Save tedw/4068668 to your computer and use it in GitHub Desktop.
Media Object
/* Media List Styles (image next to text) */
/* Based on article by Nicole Sullivan http://goo.gl/5GrKJ */
.media-list {
list-style: none;
margin: 0;
padding: 0;
}
.media-list li {
background-image: none;
padding-left: 0;
padding-right: 0;
}
.media-list > li:last-child {margin-bottom: 0}
.media-list li.last-child {margin-bottom: 0}
.media-list .content {overflow: hidden}
.no-js .media-list .content {overflow: visible}
.media-list .img {
float: left;
margin-right: 10px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment