Last active
March 14, 2022 15:39
-
-
Save fieldoffice/20b831bc64f4e333176751c2d74324ec to your computer and use it in GitHub Desktop.
CSS Borders using box-shadow
This file contains hidden or 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
box-shadow: 0 1px 0 0 palegoldenrod; /* Border bottom */ | |
box-shadow: 0 -1px 0 0 palegoldenrod; /* Border top */ | |
box-shadow: -1px 0 0 0 palegoldenrod; /* Border left */ | |
box-shadow: 1px 0 0 0 palegoldenrod; /* Border right */ | |
box-shadow: 0 0 0 1px palegoldenrod; /* All borders */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment