Search
 
SCRIPT & CODE EXAMPLE
 

CSS

horizontal rule plus text

with_horizontal_rule {
   width: 100%; 
   text-align: center; /* Remove this to align left */
   border-bottom: 1px solid #000; 
   line-height: 0.1em;
   margin: 10px 0 20px; 
} 

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

/* HTML */
<p class="with_horizontal_rule"><span>Your text goes here</span></p>
Comment

PREVIOUS NEXT
Code Example
Css :: ffmpeg add text with positions relative to video & text dimensions 
Css :: css diplay grid text truncate 
Css :: apply style to only children not grandchildren 
Css :: elementsone after other css 
Css :: background shorthand code 
Css :: if i forked and cloned a github repo can i change the name 
Css :: exact media screen 
Css :: step 54 freecodecamp rwd 
Css :: box-shadow um ganzen div 
Css :: mettre icloud en dossier barre 
Css :: css first child of type 
Css :: Enhancer for Youtube DeepDark Theme 
Css :: bootstrap carousel arrow padding 
Css :: How to hightlight source code using codemirror on a html page 
Css :: css kommentar 
Css :: easyui how to change datagrid header height 
Css :: youtube-dl forbidden 
Css :: scss variables mixins 
Css :: Image not rendering in tailwind css 
Css :: how to view only downloading speed in du meter 
Css :: inexorably 
Css :: css - global -Typogryphy 
Css :: overwrite safari dropdown css 
Css :: body .div csss 
Css :: how to center topnav bar in html 
Css :: how to keep style after click 
Css :: list on click in css 
Css :: mount file share linux windows ubuntu 
Css :: Options for DNSSEC verification of other zones 
Css :: tailwind css 
ADD CONTENT
Topic
Content
Source link
Name
4+1 =