Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@mixin diagonal($rotation, $background, $height, $pos: after)
content: ''
display: block
position: absolute
width: 100%
height: $height
background: #{$background}
transform: skewY($rotation)
z-index: 0
@media (min-width: 2000)
transform: skewY($rotation/2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment