Last active
July 21, 2020 22:15
-
-
Save alyssawilliams/bc918d1ed7303e3064e95bfd575bf02d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using negative margins to allow a child container inside a parent container to display it's contents full width | |
.padded-parent-container { | |
padding: 0 25px; | |
} | |
.full-width-child { | |
margin: 0 -25px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment