Skip to content

Instantly share code, notes, and snippets.

@dbismut
Last active April 9, 2018 22:02
Show Gist options
  • Save dbismut/f83c208817ea2976d2624b91cfc1e2fa to your computer and use it in GitHub Desktop.
Save dbismut/f83c208817ea2976d2624b91cfc1e2fa to your computer and use it in GitHub Desktop.
Part 3 - Creation of CSS rule .post-dragged
// .post-dragged rule is exactly the same
// as .post-enter
.page-post {
&.post-enter,
&.post-dragged { // add this rule
.post {
position: fixed;
overflow: hidden;
pointer-events: none;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment