Search
 
SCRIPT & CODE EXAMPLE
 

CSS

stretch text to div width css

div{
  background-color:gold;
  text-align:justify;
}

span{
  background-color:red;
  width:100%;
  height:1em;
  display:inline-block;
}

<div>
  Lorem ipsum sit dolor
  <span> </span>
</div>
Comment

PREVIOUS NEXT
Code Example
Css :: position absolute align center 
Css :: how to add 2 text shadows 
Css :: html glow on hover 
Css :: center text html css position fixed 
Css :: css button disabled hover 
Css :: how to set the scroll in bootstrap4 table body 
Css :: timesheet template html css 
Css :: html table wrap text 
Css :: scroll start from bottom css 
Css :: css scaling border radius 
Css :: blink css 
Css :: input outline focus 
Css :: style scrollbar overflow-y 
Css :: horizontal scroll with css grid 
Css :: remove scrollbars scroll 
Css :: place image on top right inside flex css 
Css :: how to horizontal center a div in css 
Css :: how to make background image fit to screen 
Css :: css keep div at bottom of screen when scrolling 
Css :: div overlfow scroll 
Css :: Media Query smartphone only 
Css :: css hover darken color 
Css :: rgba blue colo 
Css :: double border color css 
Css :: print media query css 
Css :: css align center 
Css :: css selector attribute contain 
Css :: how to remove lines from textarea 
Css :: inset boxshadow 
Css :: h2 in px css 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =