“Largura do CSS: 50%” Respostas de código

Largura do CSS: 50%

.container { white-space: nowrap; }
.column { display: inline-block; width: 50%; white-space: normal; }

<div class="container">
  <div class="column">text that can wrap</div>
  <div class="column">text that can wrap</div>
</div>
florinrelea

propriedade CSS de largura

/* <length> values */
width: 300px;
width: 25em;

/* <percentage> value */
width: 75%;

/* Keyword values */
width: max-content;
width: min-content;
width: fit-content(20em);
width: auto;

/* Global values */
width: inherit;
width: initial;
width: unset;
hateschoollovecoding

Respostas semelhantes a “Largura do CSS: 50%”

Perguntas semelhantes a “Largura do CSS: 50%”

Mais respostas relacionadas para “Largura do CSS: 50%” em CSS

Procure respostas de código populares por idioma

Procurar outros idiomas de código