Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

css line-through with words

h1 {
  display: flex;
  flex-direction: row;
}
h1:before, h1:after{
  content: "";
  flex: 1 1;
  border-bottom: 1px solid;
  margin: auto;
}
h1:before {
  margin-right: 10px
}
h1:after {
  margin-left: 10px
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #css #words
ADD COMMENT
Topic
Name
1+4 =