Skip to content

Instantly share code, notes, and snippets.

@rabidaudio
Created March 2, 2015 19:20
Show Gist options
  • Save rabidaudio/fa6849e4c1c91309e789 to your computer and use it in GitHub Desktop.
Save rabidaudio/fa6849e4c1c91309e789 to your computer and use it in GitHub Desktop.
HTML alignment center lines
<div style="position: fixed; width:1px; left: 50%; top:0; bottom: 0; background-color: black;"></div>
<div style="position: fixed; height:1px; left: 0; top:50%; right: 0; background-color: black;"></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment