Skip to content
This repository has been archived by the owner on Feb 1, 2022. It is now read-only.
Herst edited this page Oct 20, 2018 · 2 revisions

Note: This check has been removed in Bootlint v1.x.


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>
Clone this wiki locally