
9 changed files with 53 additions and 19 deletions
After Width: | Height: | Size: 324 KiB |
@ -1,12 +1,26 @@
|
||||
.centered-line { |
||||
width: 100%; |
||||
overflow: hidden; |
||||
text-align: center; |
||||
border-bottom: 1px solid #000; |
||||
line-height: 0.1em; |
||||
margin: 10px 0 20px; |
||||
color: #fff; |
||||
} |
||||
|
||||
.centered-line span { |
||||
background:#eee; |
||||
padding:0 10px; |
||||
.centered-line::before, |
||||
.centered-line::after { |
||||
background-color: #fff; |
||||
content: ""; |
||||
display: inline-block; |
||||
height: 1px; |
||||
position: relative; |
||||
vertical-align: middle; |
||||
width: 50%; |
||||
} |
||||
|
||||
.centered-line::before { |
||||
right: 0.5em; |
||||
margin-left: -50%; |
||||
} |
||||
|
||||
.centered-line::after { |
||||
left: 0.5em; |
||||
margin-right: -50%; |
||||
} |
Loading…
Reference in new issue