79705996

Date: 2025-07-18 09:54:52
Score: 1
Natty:
Report link

2025

Just found out the new width: stretch. This is not well standard at the time this comment was published, but I want to mention it for the future use. See https://developer.mozilla.org/en-US/docs/Web/CSS/width#stretch

.parent {
  border: solid;
  margin: 1rem;
  display: flex;
}

.child {
  background: #0999;
  margin: 1rem;
}

.stretch {
  width: stretch;
}
<div class="parent">
  <div class="child">text</div>
</div>

<div class="parent">
  <div class="child stretch">stretch</div>
</div>

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Supakorn Netsuwan