Skip to content

Instantly share code, notes, and snippets.

@eterps
Last active Oct 6, 2020
Embed
What would you like to do?
.card {
background-color: #fff;
font-family: sans-serif
display: inline-block;
max-width: 14em;
border-radius: 6px;
box-shadow: 0 1px 6px rgba(0,0,0,0.15);
overflow: hidden;
float: left;
}
.card > * {font-family: sans-serif}
.card > img {max-width:100%}
.card > .content {padding: 0 1em}
.card > .content > h1 {font-size: 110%}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment