css text wrap code example

Example 1: css wordwrap

.ow {
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  white-space: normal; //this is the one that gets you all the time
}

Example 2: make text not wrap css

white-space: nowrap;

Example 3: react native text wrap

<View
    style={{ flexDirection: 'row' }}
> 
   <Text style={{ flexShrink: 1 }}>
       Really really long text...
   </Text>
</View>

Example 4: how to wrap text in div css

.example {
  overflow-wrap: break-word;
}

Example 5: css p tag text wrap

p { 
  /*  That create a ne line, when he word is to long*/
  word-break: break-all 
}

Example 6: css break wrap header

h1{
	word-break: break-word;
}