2

I just do not understand what is going on in the styling here. Perhaps I don't understand the inline rules. The background of the outer div is overlapping the inner input element??

    .outer{
      display: inline;
      padding: 20px;
      background-color: green;
    }
    .inner {
      background-color: red;
    }
Inline so bork?
    <div class="outer">
      <div class="inner">
        <input type="text"/>
      </div>
    </div>
ADJenks
  • 2,973
  • 27
  • 38

0 Answers0