Skip to content

Instantly share code, notes, and snippets.

@alenthomas
Last active May 30, 2019 17:58
Show Gist options
  • Save alenthomas/3915072ab1132793a9a65b9f32ca0271 to your computer and use it in GitHub Desktop.
Save alenthomas/3915072ab1132793a9a65b9f32ca0271 to your computer and use it in GitHub Desktop.
@keyframes scroll {
0% { transform: translateY(0%); }
100% { transform: translateY(-200%); }
}
.parent {
overflow: hidden;
position: relative;
}
.one {
position: absolute;
top: 100%;
left: 200px;
&.hide {
display: none;
}
}
.two {
position: absolute;
top: 100%;
left: 200px;
&.hide {
display: none;
}
}
.boxparent {
display: flex;
justify-content: center;
align-content: space-around;
.box {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment