Search
 
SCRIPT & CODE EXAMPLE
 

CSS

line middle text css

text-decoration-line: line-through;
Comment

How to write text in middle of straight line in css

h2 {
   width: 100%; 
   text-align: center; 
   border-bottom: 1px solid #000; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

h2 span { 
    background:#fff; 
    padding:0 10px; 
}
Comment

PREVIOUS NEXT
Code Example
Css :: class html css 
Css :: my customized css export chrome dev 
Css :: css text decoration 
Css :: restore mySQL database from .bz2 
Css :: text align in materialize css 
Css :: three columsn css grid 
Css :: fallback value in css 
Css :: how to set scss variables 
Css :: animate a position css 
Css :: abc 
Css :: css after before 
Css :: sass syntax cheat sheet 
Css :: css properties 
Css :: w3.css templates 
Css :: what is the difference between relative and absolute css 
Css :: list view render queryset 
Css :: prevent contenteditable div from expanding 
Css :: daphne vs gunicorn 
Css :: Hoow to open a css class in css 
Css :: hide scrolbar 
Css :: css backdrop filter grayscale 
Css :: ms-grid- error css 
Css :: css function to add and subtract 
Css :: css list style image font awesome 
Css :: How to write something inside image 
Css :: cliping setting 
Css :: Apply "small-caps" to an element 
Css :: responsive header with logo and menu css code 
Css :: style placeholder 
Css :: css validation 
ADD CONTENT
Topic
Content
Source link
Name
9+4 =