Last active
November 30, 2016 15:54
-
-
Save jrswgtr/8c14d7ab36d57ff3cebf886ab230bdbe to your computer and use it in GitHub Desktop.
vertical line in middle
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
<div class="here"> hashdahha sad as</div> |
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
.here:after { | |
content:""; | |
position: absolute; | |
z-index: -1; | |
top: 0; | |
bottom: 0; | |
left: 50%; | |
border-left: 2px solid #000; | |
} | |
div { | |
margin: 10px auto; | |
width: 60%; | |
height: 100px; | |
border:1px solid #333; | |
position:relative; | |
text-align:center | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment