“CSS Line Break Breite” Code-Antworten

CSS Line Break Breite

span { 
    display:block;
    width:150px;
    word-wrap:break-word;
}
GutoTrosla

CSS -Bruch -Linienhöhe

<!DOCTYPE html >
<html>
  
<head>
    <title>
      Customized break example
  </title>
  
    <style type="text/css">
        .br {
            display: block;
            margin-bottom: 0em;
        }
          
        .brmedium {
            display: block;
            margin-bottom: 1em;
        }
          
        .brlarge {
            display: block;
            margin-bottom: 2em;
        }
    </style>
</head>
  
<body>
  
    <h3>This page shows different 
      break height between lines</h3>
    <p> Hi User
      <span class="brlarge"></span>
      Welcome to
      <span class="brmedium"></span> 
      Geeks for geeks.
      <span class="br"></span> 
      Hope you have enjoyed your stay.
    </p>
    
</body>
  
</html>
Perfect Pigeon

Ähnliche Antworten wie “CSS Line Break Breite”

Fragen ähnlich wie “CSS Line Break Breite”

Weitere verwandte Antworten zu “CSS Line Break Breite” auf CSS

Durchsuchen Sie beliebte Code-Antworten nach Sprache

Durchsuchen Sie andere Codesprachen