CSS units

vmin


  max-width: 50vmin;
  background: orange;
    

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

vh


  max-width: 50vh;
  background: lightblue;
    

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

vw


  max-width: 50vw;
  background: lime;
    

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

rem


  max-width: 20rem;
  background: white; 
    

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

em


  max-width: 20em;
  background: aqua;
    

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

xxxxxxxxxxxxxxxxxxxx
00000000000000000000
MMMMMMMMMMMMMMMMMMMM

ex


  max-width: 20ex;
  background: pink;
    

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

xxxxxxxxxxxxxxxxxxxx

ch


  max-width: 20ch;
  background: yellow;  
    

00000000000000000000

00000000000000000000

1234567890123456789012345678901234567890
00000000000000000000 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

1234567890123456789012345678901234567890
00000000000000000000 Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.



    

just a test