Skip to content

Instantly share code, notes, and snippets.

@9jaswag
Last active May 15, 2018 22:06
Show Gist options
  • Save 9jaswag/1028d3817d50bd4e9a388c0eb2674e1d to your computer and use it in GitHub Desktop.
Save 9jaswag/1028d3817d50bd4e9a388c0eb2674e1d to your computer and use it in GitHub Desktop.
drag 'n' drop CSS
.container {
display: grid;
grid-template-columns: auto auto auto auto;
grid-column-gap: 1rem;
grid-row-gap: 3rem;
font-family: 'Titillium Web', sans-serif;
}
.droppable {
width: 15rem;
height: 15rem;
max-height: 15rem;
border: 1px dotted #7f8082;
border-radius: 3px;
padding: 0.5rem;
}
p {
margin: 0;
padding: 0;
}
.list {
background: #e2e4e6;
width: 100%;
height: 100%;
border-radius: 3px;
cursor: pointer;
}
.list-title {
margin: 0;
padding: 0.4rem 0.7rem;
}
.cards {
padding: 0.6rem;
}
.list-card {
background: #FFFFFF;
border-radius: 3px;
padding: 6px 6px 2px 8px;
margin-bottom: 0.1rem;
}
.list-card p {
font-size: 0.85rem;
margin-bottom: 0.2rem;
}
.badge.is-complete {
background-color: #61bd4f;
color: #fff;
border-radius: 3px;
padding: 0.3rem 0.5rem;;
font-size: 0.7rem;
display: inline-block;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment