Created
June 28, 2020 14:03
-
-
Save vanaf1979/a77281a9b518bdfc426e05f1d9efe9c1 to your computer and use it in GitHub Desktop.
Remove leading trailing margins with css
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
* > :first-child { | |
margin-top: 0; | |
} | |
* > :last-child { | |
margin-bottom: 0; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment