Created
November 25, 2015 11:25
-
-
Save anonymous/1534ff723793ea807679 to your computer and use it in GitHub Desktop.
JS Bin // source http://jsbin.com/pehagezesu
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="utf-8"> | |
<title>JS Bin</title> | |
<style id="jsbin-css"> | |
.separator { | |
display: block; | |
width: 100%; | |
font-weight: 400; | |
font-family: sans-serif; | |
text-transform: uppercase; | |
color: silver; | |
font-size: .85em; | |
margin-right: .5em; | |
} | |
.separator__inner, .separator__line { | |
display: table-cell; | |
} | |
.separator__line { | |
width: 100%; | |
} | |
.separator__inner { | |
content: ' '; | |
} | |
.separator__line::before { | |
content: ' '; | |
display: block; | |
border: thin solid #ddd; | |
margin-top: -.3em; | |
margin-left: .5em; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="separator"> | |
<span class="separator__inner">Séparateur</span> | |
<span class="separator__line"></span> | |
</div> | |
<script id="jsbin-source-css" type="text/css">.separator { | |
display: block; | |
width: 100%; | |
font-weight: 400; | |
font-family: sans-serif; | |
text-transform: uppercase; | |
color: silver; | |
font-size: .85em; | |
margin-right: .5em; | |
} | |
.separator__inner, .separator__line { | |
display: table-cell; | |
} | |
.separator__line { | |
width: 100%; | |
} | |
.separator__inner { | |
content: ' '; | |
} | |
.separator__line::before { | |
content: ' '; | |
display: block; | |
border: thin solid #ddd; | |
margin-top: -.3em; | |
margin-left: .5em; | |
} | |
</script> | |
</body> | |
</html> |
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
.separator { | |
display: block; | |
width: 100%; | |
font-weight: 400; | |
font-family: sans-serif; | |
text-transform: uppercase; | |
color: silver; | |
font-size: .85em; | |
margin-right: .5em; | |
} | |
.separator__inner, .separator__line { | |
display: table-cell; | |
} | |
.separator__line { | |
width: 100%; | |
} | |
.separator__inner { | |
content: ' '; | |
} | |
.separator__line::before { | |
content: ' '; | |
display: block; | |
border: thin solid #ddd; | |
margin-top: -.3em; | |
margin-left: .5em; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment