Search
 
SCRIPT & CODE EXAMPLE
 

CSS

how to add dotted line after and before text in css

.horizontal_dotted_line {
  display: flex;
  width: 300px;
  border-right: 1px solid black;
  border-left: 1px solid black;
  padding: 5px;
} 
.horizontal_dotted_line:after {
  border-bottom: 1px dotted black;
  content: '';
  flex: 1;
}
.horizontal_dotted_line:before {
  border-bottom: 1px dotted black;
  content: '';
  flex: 1;
}
Comment

PREVIOUS NEXT
Code Example
Css :: add background image in css 
Css :: clearfix 
Css :: Hide second occarrence of a css class 
Css :: css calc vw minus px 
Css :: background center 
Css :: css position absolute transition 
Css :: font shorthand css 
Css :: npm registry package not found 
Css :: corona.html:61 Uncaught ReferenceError: $ is not defined 
Css :: preloader css 
Css :: parent hover and child hover at the same time 
Css :: css affect all child elements 
Css :: jest afterAll 
Css :: grid-template-rows 
Css :: align centre 
Css :: grid-template-columns 
Css :: variables scss 
Css :: responsive gradient background css 
Css :: text-transform:capitalize; not workig 
Css :: materialize css form file input 
Css :: CSS line-height values 
Css :: vertical align text inside div 
Css :: display flex align last item to left 
Css :: image overlay css 
Css :: what is the animation property in html and css 
Css :: css span to right of div 
Css :: css transforms 
Css :: nmap output ip only 
Css :: css id selector 
Css :: textarea { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%; } 
ADD CONTENT
Topic
Content
Source link
Name
8+8 =