stretch text to div width css

Solutions on MaxInterview for stretch text to div width css by the best coders in the world

showing results for - "stretch text to div width css"
Mira
30 Nov 2020
1div{
2  background-color:gold;
3  text-align:justify;
4}
5
6span{
7  background-color:red;
8  width:100%;
9  height:1em;
10  display:inline-block;
11}
12
13<div>
14  Lorem ipsum sit dolor
15  <span> </span>
16</div>