E038 - Herst/bootlint-ng GitHub Wiki

Note: Below is the original page from the Bootlint documentation, some of the info here might not apply to Bootlint-NG!


E038

.media-left and .media-right should not be used outside of .media objects.

The .media-left and .media-right positioning classes should only be used within .media objects, since this is their express purpose. Using them outside of a .media object is nonsensical.

Wrong:

<body>
  <div class="media-left">
    ...
  </div>
</body>

Right:

<div class="media">
  <div class="media-left">
    ...
  </div>
  <div class="media-body">
    ...
  </div>
</div>
⚠️ **GitHub.com Fallback** ⚠️